[plt-scheme] Generating lists in Scheme

From: Grant Rettke (grettke at acm.org)
Date: Fri May 25 11:55:48 EDT 2007

Hi folks,

I just learned about list-ec, now I know of two ways to build lists in Scheme.

(require (lib "42.ss" "srfi")
         (lib "etc.ss"))

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

(build-list 10 (λ (n) (identity n)))

How else do folks build lists?

Posted on the users mailing list.