[racket] Lazy take is the identity?

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Jan 30 15:15:22 EST 2011

On Wednesday, Mark Engelberg wrote:
> P.S. I was surprised to see that list-ref in #lang lazy takes the args in
> opposite order than in #lang racket (which takes the list first).

You were probably referring to `take' here -- that's a known issue.
The lazy version follows Haskell, and was there before `take' was
added to the main language.  I don't have any idea for fixing this
nicely now.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.