Commit Graph

18 Commits

Author SHA1 Message Date
Stephen Chang
8d962c0b4f add strictness tests for Lazy Racket 2011-08-30 02:31:05 -04:00
Stephen Chang
af3e0cea01 updated Lazy Racket to use racket/base
updated Lazy Racket to use racket/base instead of mzscheme
2011-08-17 01:48:58 -04:00
Stephen Chang
5d47e58de3 add Lazy Racket tests from Premiers cours de programmation avec Scheme (Roy) 2011-04-26 19:13:41 -04:00
Stephen Chang
718b9709bc fix struct constructor application in lazy racket 2011-04-19 01:21:19 -04:00
Eli Barzilay
6b5e09073a Reorganize, improve, and extend lazy tests. 2011-01-30 13:52:04 -05:00
Stephen Chang
08d99f4858 add test for lazy take bug fix -- invariant being incorrectly tested on unforced arg 2011-01-30 12:12:55 -05:00
Stephen Chang
9924ac8060 add tests for lazy take 2011-01-27 17:04:58 -05:00
Stephen Chang
f60957282f fix (take 0 nonemptylist) test in tests/lazy/langimpl.rkt 2011-01-26 18:14:34 -05:00
Stephen Chang
1ab22f7c2b add tests for push#22080 2011-01-26 17:26:44 -05:00
Eli Barzilay
12211fff72 Various lazy-related fixes etc.
* A long-standing bug, which happened with
    (let ([x (lazy (delay 1))]) (force x) (force x))
  not being properly handled.

* Added `delay/strict', mostly for the below.

* Made srfi/45 reprovide it as `eager'.

* Also restricted the exports from srfi/45 to its interface.

All of these issues were reported by Andreas Rottmann.
2010-05-21 15:12:16 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Eli Barzilay
b1f5b0652c new kinds of promises
svn: r16807
2009-11-16 11:06:47 +00:00
Eli Barzilay
d66d5f7759 move promise tests to tests/lazy
svn: r16773
2009-11-15 00:36:24 +00:00
Eli Barzilay
d32f0a9692 * Made run-automated-tests invoke the original exception handler when
need to
* comment out stepper tests for now
* lazy/main has a single batch of tests
* added lazy/main to the tests

svn: r11754
2008-09-15 08:01:06 +00:00
Eli Barzilay
1e40590ea4 Use a parameter for nested uses of test
svn: r11753
2008-09-15 07:19:41 +00:00
Eli Barzilay
c870eadf03 a nested (test ...) expression is implicitly in a 'do' block for convenicnce
svn: r11749
2008-09-14 22:15:20 +00:00
Eli Barzilay
12390fb891 improvements
svn: r11078
2008-08-05 11:36:33 +00:00
Eli Barzilay
6994edd977 * Revised lazy/force so it actually works:
- `!!' now scans the same kind of data that `make-reader-graph'
    handles (except that hash-tables are not implemented)
  - this means no structs, no mpairs, and a bunch of other stuff
  - `!!!' is gone (lazy procedures are not wrapped)
  - dealing with multiple values moved into lazy/lazy.ss itself (and
    in the future everything will move in there)
* Removed lazy/promise, and use scheme/promise instead.  Also remove
  the docs for lazy/promise that were bogus (since scheme/promise *is*
  doing the same thing now).
* Other adjustments to the docs.  They should be considered incomplete
  now, and will need a major rewrite when the whole thing works again
  (multiple values things are just commented out for now).
* Added a test macro and a quick test suite for lazy/promise.
* The lazy tests are added to the nightly build tests

svn: r11042
2008-08-03 06:28:25 +00:00