Eli Barzilay
6b5e09073a
Reorganize, improve, and extend lazy tests.
2011-01-30 13:52:04 -05:00
Stephen Chang
808361b789
fix lazy take bug -- invariant being tested on unforced argument
2011-01-30 12:10:57 -05:00
Eli Barzilay
40610643bf
Make `take' less forceful -- so now (take 0 (error "foo")) returns '()
...
instead of throwing an error.
2011-01-26 17:06:17 -05:00
Stephen Chang
39194ba5da
in lazy.rkt, fix bug in take, where (take 0 non-null-list) was not evaluating to null
2011-01-26 15:27:18 -05:00
Eli Barzilay
698b3a6c90
Throw an error if the number input for `take' is too big.
...
Note that this is usually delayed so it's not too useful. Note that it
*doesn't* force the list -- see the explanation in the comment.
(Related to PR 11458.)
2010-11-23 14:13:26 -05:00
Eli Barzilay
f3c62a0efd
Require a non-negative exact integer argument for `take'.
...
Closes PR 11458.
2010-11-23 10:28:14 -05:00
Eli Barzilay
2d9601089d
A lot of "MzScheme" -> "Racket"s.
2010-05-16 18:26:26 -04:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00