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))) ) (empty-sosofo) ) ) 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 application. 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? Thanks, Richard. Richard Light SGML/XML and Museum Information Consultancy richard@xxxxxxxxxxxxxxxxx DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Mixing page number formats?, Norman Walsh | Thread | Re: map-constructor, James Clark |
Re: Splitting Documents, Paul Prescod | Date | Consultant needed, Stan Norton |
Month |