Name: Anonymous 2005-12-21 8:09
Because I'm learning it, almost done through the tutorial, and it looks great.
shift/reset primitives in your Lispy language of choice, how would you implement (make-generator f) such that:(define g
(make-generator
(lambda (yield)
(map yield '(1 2 3 4 5)))))
(g) ; should print 1
(g) ; should print 2
(g) ; should print 3