Commit Graph

60 Commits

Author SHA1 Message Date
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
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
c023c460bc misc racket renamings 2010-05-07 11:03:02 -06:00
Matthew Flatt
eb15dceb34 rackety misc docs 2010-05-07 09:13:51 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Eli Barzilay
b4ec71329f fix scribble references -- I have no idea how they worked before, since they weren't requiring it anyway.
svn: r17231
2009-12-06 20:58:17 +00:00
Eli Barzilay
66c855c2d3 Switch language readers to #lang s-exp
svn: r15188
2009-06-16 17:13:51 +00:00
Eli Barzilay
4288c6c2c7 The Scribble reader was improved to make it pull out the syntax
punctuations outside of the form, as it does with quote punctuations.
So things like this

  #, @foo{...}

that required the space to make the @foo read as a scribble form are
now better written as

  @#,foo{...}

This changes all such occurrences.  (In case you see this change in
your files and are worried that there might be changes: I mechanically
verified that the result of `read'ing the modified files is identical
to the previous version.)

svn: r15111
2009-06-07 10:12:32 +00:00
Eli Barzilay
dbc196c246 make (values x) return just x
svn: r14420
2009-04-04 18:41:57 +00:00
Matthew Flatt
0f18d68649 Scribble: change handling of argumentd in defproc, etc., to use lexical bidning instead of parameters and symbols; fix some docs
svn: r13688
2009-02-17 01:15:38 +00:00
Matthew Flatt
9453aaaccf assign authors to manuals
svn: r11287
2008-08-15 20:16:06 +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
Eli Barzilay
39af76b953 typo
svn: r10842
2008-07-20 05:38:05 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Eli Barzilay
648286fa52 more numbers
svn: r10425
2008-06-23 14:58:10 +00:00
Matthew Flatt
20fcb6314c honu-module -> honu; misc doc and slideshow tweaks
svn: r10230
2008-06-12 13:02:41 +00:00
Matthew Flatt
5f85bbce17 'experimental doc category
svn: r9725
2008-05-07 20:11:13 +00:00
Eli Barzilay
f1d36345c2 oops, get it back, it's not efficient, but it works
svn: r9625
2008-05-03 06:48:29 +00:00
Eli Barzilay
23a4b07cb9 remove the lazy scheme language
svn: r9624
2008-05-03 06:45:10 +00:00
Matthew Flatt
a26b334c67 proprocessor doc, merge scribblings and doc-categories fields
svn: r9414
2008-04-23 00:20:25 +00:00
Eli Barzilay
419152e81e provide unicode lambda symbol
svn: r9079
2008-03-24 20:30:31 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Matthew Flatt
4c23a44fd5 fix module->namespace problem, add link to bug report page, fix tests
svn: r8470
2008-01-30 00:21:24 +00:00
Matthew Flatt
739fde15cb add contributed scribbling for 'lazy'
svn: r8349
2008-01-16 14:39:56 +00:00
Eli Barzilay
fe3e4042cd fix hide sharing
svn: r8111
2007-12-24 07:41:01 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Eli Barzilay
523956b9c1 filter bug
svn: r7427
2007-10-01 14:17:34 +00:00
Eli Barzilay
c017ff26ae * Added a `toplevel-forcer' parameter
* Simplified special-form treatment of !s
* Fixed & improved `equal?'

svn: r7410
2007-09-25 01:53:45 +00:00
Eli Barzilay
36d0a89e5a minor
svn: r7409
2007-09-25 01:24:33 +00:00
Eli Barzilay
8586952ab6 minor
svn: r7408
2007-09-25 01:13:20 +00:00
Eli Barzilay
beba8aa2d0 fix sort, improved filter, and fixed another bunch of applications
svn: r7407
2007-09-24 21:17:49 +00:00
Eli Barzilay
851811b3a0 use with-handlers*
svn: r7112
2007-08-18 05:00:49 +00:00
Eli Barzilay
1e62679b54 exception-preserving promises, the naive way
svn: r7111
2007-08-18 04:38:00 +00:00
Eli Barzilay
f4a7b72482 fix+reinstall last force version
svn: r6934
2007-07-19 02:48:42 +00:00
Kathy Gray
b5861250f7 Committing a change to move to an older force that doesn't infinite loop profj
svn: r6933
2007-07-18 21:31:40 +00:00
Eli Barzilay
ff5615002d added some timings
svn: r6927
2007-07-16 21:20:07 +00:00
Eli Barzilay
806e10bb48 improved printout
svn: r6926
2007-07-16 20:09:08 +00:00
Eli Barzilay
7503586cea comment
svn: r6919
2007-07-15 06:39:12 +00:00
Eli Barzilay
8196473712 delay can deal with multiple values, lazy cannot
svn: r6918
2007-07-15 06:33:47 +00:00
Eli Barzilay
9ffbae2a7c included a commented version of multiple-value force
svn: r6917
2007-07-15 04:08:27 +00:00
Eli Barzilay
3b6e85aad0 document the promise module
svn: r6916
2007-07-15 03:46:14 +00:00
Eli Barzilay
2758133083 plain definitions are better karma
svn: r6914
2007-07-14 14:14:58 +00:00
Eli Barzilay
eef7c40127 new promises
svn: r6912
2007-07-14 05:08:23 +00:00