Two days ago, Phil Bewig wrote:
> You might be interested in SRFI-41
> <http://srfi.schemers.org/srfi-41/>.  One of the examples is an
> infinite stream of fibonacci numbers.

Or in lazy racket, where that example becomes very clear:

  #lang lazy
  (define fibs (list* 1 1 (map + fibs (cdr fibs))))

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to