Commit Graph

18 Commits

Author SHA1 Message Date
Eli Barzilay
c0bdc22085 bleh
svn: r13169
2009-01-16 16:36:51 +00:00
Eli Barzilay
c5f8c43dbf better code order
svn: r13168
2009-01-16 16:29:53 +00:00
Eli Barzilay
99592959b8 fix display/write swap, use ~s for exn-messages
svn: r13161
2009-01-16 05:49:16 +00:00
Eli Barzilay
a76cdc248f added promise-forced? and promise-running?
svn: r13160
2009-01-16 05:46:07 +00:00
Eli Barzilay
6307b4bdc1 comment typo
svn: r11157
2008-08-08 22:35:36 +00:00
Eli Barzilay
ce7dc400f3 svn: r11129 2008-08-07 19:32:26 +00:00
Eli Barzilay
f781bc04a1 svn: r11128 2008-08-07 19:32:13 +00:00
Eli Barzilay
b93cdc5803 minor
svn: r11001
2008-07-31 04:03:28 +00:00
Eli Barzilay
04b97ff977 Make promise.ss use #%kernel directly -- this way mzscheme does not
depend on scheme/base.

svn: r10424
2008-06-23 14:32:27 +00:00
Eli Barzilay
3619ab2062 * USe a thunk for caught values, not just the exception value, since
(as Mathew notes as a bug) any value can be raised
*  Actually use an applicable struct, so we can printout something
   sensible.  The current printout is:
     #<promise!exn!...exn-message...> for exceptions
     #<promise!(raise val)> for other values

svn: r10423
2008-06-23 13:57:18 +00:00
Eli Barzilay
b7839a4ec3 removed redundant syntax hack
svn: r10417
2008-06-23 04:33:25 +00:00
Eli Barzilay
945dc376d2 * Removed `with-handlers*' that was causing a problem in some long
nested streams example (from Jos Koot).
* Replaced with `call-with-exception-handler' which is (intentionally)
  not tail-recursive, but it seems to work fine now.
* The `lazy' form is restricted to single-valued expressions only.

svn: r10416
2008-06-23 04:07:12 +00:00
Eli Barzilay
7a29625659 lift handle-results, since matthew said that the compiler might not do so
svn: r9181
2008-04-07 19:55:54 +00:00
Eli Barzilay
f0547adffc fix force for dealing with (lazy 0), add a test suite (simple one for now)
svn: r9180
2008-04-07 19:33:48 +00:00
Matthew Flatt
8311c8f9e4 Eli's repaired and specialized sort, fix in 'for/fold' binding, generalized integers-bytes functions, and some r6rs work
svn: r8798
2008-02-25 14:42:32 +00:00
Eli Barzilay
e3f8d7e74b better code organization
svn: r8116
2007-12-24 12:24:46 +00:00
Eli Barzilay
9ba922ff1c reformatting
svn: r8114
2007-12-24 11:29:33 +00:00
Matthew Flatt
415cd0bf15 lazy, force, delay in scheme/promise and scheme; clean up mzscheme some, and clean up the docs some
svn: r8053
2007-12-18 21:37:23 +00:00