>
> (Though if you're using Pollen markup, you'd need to put the result of the 
> `map` operation inside some kind of container, so it qualifies as an 
> X-expression)
>
> Right, so that's what I'm looking for. Thanks!

pollen.rkt:
...
(define (reference x)
  ; list x -> txexpr
  `(div ((class "reference")) ,@(map p (sort x string<?))))

file.html.pm:
...
◊(reference (hash-map references (lambda (x y) (string-append x ": " y))))

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to