RE: Error in spec ?

Subject: RE: Error in spec ?
From: "Frank A. Christoph" <christo@xxxxxxxxxxxxxxxxxx>
Date: Sat, 15 Jan 2000 14:47:34 +0900
> I suspect there is an error in the DSSSL spec.
>
> node-list-head (p. 136) is supposed to return a node-list comprising the
> first k members of nl. However, it is defined as follows:
>
> (define (node-list-head nl i)
> 	(if (zero? i)
> 		(empty-node-list)
> 		(node-list (node-list-first nl)
> 			(node-list-head nl (- i 1)))))
>
> This returns a node-list in which the first member of nl is repeated i
> times.

FYI, I think I remember someone saying that _many_ of the function
definitions in that part of the spec are wrong. (Haven't check, though.)

--FAC


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread