Subject: map-constructor
From: Richard Light <richard@xxxxxxxxxxxxxxxxx>
Date: Thu, 13 Nov 1997 16:30:14 +0000
I haven't seen any 'home-grown' versions of map-constructor in my
ramblings through the DSSSList archive, so I cooked up the following:

(define (map-constructor proc n1)
  (node-list-reduce n1
    (lambda (result sn1)
      (sosofo-append result (apply proc (list sn1)))

This reflects what I understand to be the function of map-constructor,
and it certainly does what I was hoping it would do in my particular

Could someone who knows a bit more than me about DSSSL check this out,
and advise whether it is ok?

Is there a version sitting somewhere that I haven't found?



Richard Light
SGML/XML and Museum Information Consultancy

 DSSSList info and archive:

Current Thread