[plt-scheme] Generating lists in Scheme

From: Noel Welsh (noelwelsh at gmail.com)
Date: Fri May 25 12:24:30 EDT 2007

unfold is the universal constructor.

Quasiquotation is handy in some cases:

 `(1 ,(+ 1 1) 3 4)  => (list 1 2 3 4)

BTW, your example

  (list-ec (: i 10) (identity i))

can be written

  (list-ec (: i 10) i)

N.


Posted on the users mailing list.