wisp

get interweb fluff
Log | Files | Refs

commit 070b053ff4cea1fc7efb3249a2bddf1bf64bd185
parent 152d5a5382b2d9418506809f59bb568941194bb3
Author: rsiddharth <s@ricketyspace.net>
Date:   Fri,  7 Jun 2019 19:23:16 -0400

hn/g: Add athings:hash.

Diffstat:
hn/g | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/hn/g b/hn/g @@ -46,3 +46,12 @@ (list (sxml:attr (car l) 'href) (sxml:text l)))) +(define (athings:hash h athings:sxml) + (cond ((empty? athings:sxml) h) + (else + (let* ((athing (car athings:sxml)) + (id (athing:id athing)) + (link (athing:link athing))) + (athings:hash (hash-set h id link) + (cdr athings:sxml)))))) +