Commit Graph

95 Commits

Author SHA1 Message Date
Eli Barzilay
16f01a1109 {quick,merge}sort -> sort
svn: r2569
2006-04-01 12:24:15 +00:00
Eli Barzilay
a8e8e08677 some spedup in merge!
svn: r2566
2006-04-01 08:23:21 +00:00
Matthew Flatt
2ca4121a4f need to use ephemerons with weak table of ports
svn: r2548
2006-03-31 00:25:38 +00:00
Robby Findler
ea9d5bfe8b improved internal contract stuff
svn: r2546
2006-03-30 19:05:54 +00:00
Eli Barzilay
6744633338 Moved (and improved) sort! etc from Swindle to mzlib/list.ss
* Expose sort!, merge! and merge, since they're also useful

* Made `mergesort' be an alias for `sort'.

* Removed it all from Swindle

* Removed `sort' from compat.ss

* Needed to adjust a few other files, no problems but
  graphics/value-turtles provides its own version of `merge'

svn: r2542
2006-03-30 09:39:30 +00:00
Matthew Flatt
c5492262fc 'status waits for port-managing threads
svn: r2526
2006-03-28 14:15:52 +00:00
Robby Findler
cf86c57215 merged revision 2489:2523 from plt/branches/robby -- somehow contract-guts.ss came out messed up; I replaced it with the actual latest version from the branch and things seem okay
svn: r2524
2006-03-28 00:38:43 +00:00
Matthew Flatt
d7d9efb1ac delay finalizer thread until needed
svn: r2494
2006-03-24 13:41:41 +00:00
Robby Findler
5e2f5d86de re arranged the file names in the contract library and exported a few more things from the main library to satisfy plai
svn: r2488
2006-03-23 17:22:26 +00:00
Robby Findler
8617ca8fcd defeats the inlining optimization by making procedure bodies big in order to do lazy contract checking
svn: r2486
2006-03-22 21:12:53 +00:00
Matthew Flatt
d2737c73a4 replace same-closure with procedure-closure-contents-eq?
svn: r2476
2006-03-21 15:28:59 +00:00
Matthew Flatt
6a4dccff65 tweak for 301.11 inlining
svn: r2468
2006-03-20 20:33:43 +00:00
Robby Findler
bb9b8eb90e finished lazy data structure contracts
svn: r2458
2006-03-19 00:03:48 +00:00
Robby Findler
d8217b9d27 added first stages of improvments to contract library to support lazy structure contracts. not yet complete, but contract system is in working order, so committing
svn: r2452
2006-03-18 05:33:08 +00:00
Matthew Flatt
17670dd89d moddep contracts and testing
svn: r2407
2006-03-10 03:35:23 +00:00
Robby Findler
7249080888 svn: r2393 2006-03-08 17:23:45 +00:00
Eli Barzilay
776e15490e * Arguments can now be passed directly as lists
* Keywords are compared for the literal symbol instead of comparing ids
* Added tests for the above
* Some re-formatting

svn: r2356
2006-03-03 14:48:22 +00:00
Robby Findler
873e71a9dd fixed PR 7927
svn: r2341
2006-03-02 02:48:40 +00:00
Eli Barzilay
70d2fa327d When both optionals and keywords are used, the first keyword marks the end
of the optionals.

svn: r2322
2006-02-27 04:42:27 +00:00
Matthew Flatt
d9e3e1e267 make serialization work right when a module is dynamic-required using a (non-string) path
svn: r2321
2006-02-26 17:45:37 +00:00
Robby Findler
3172ffd027 added contract-violation->string parameter
svn: r2314
2006-02-24 15:37:58 +00:00
Eli Barzilay
67e5151775 fix expansion problems
svn: r2312
2006-02-24 13:14:04 +00:00
Matthew Flatt
6ddea0a0f5 when writing a .zo fails, delete the bad file
svn: r2310
2006-02-23 20:53:41 +00:00
Eli Barzilay
f41698de15 optimize keyword-get
svn: r2305
2006-02-23 18:20:58 +00:00
Matthew Flatt
a59d668f6d Jepri's changes so that md5 works on ports
svn: r2194
2006-02-11 05:35:35 +00:00
Matthew Flatt
c5a6d3d046 give the compiler hints with define-const
svn: r2191
2006-02-10 22:03:13 +00:00
Matthew Flatt
144b8d6593 report unexpected EOF in inflate/gunzip
svn: r2190
2006-02-10 21:42:31 +00:00
Robby Findler
106c19a461 added tests for or/c ordering and and/c ordering and fixed name of the or/c contract (so it doesn't claim to be a union contract anymore)
svn: r2100
2006-02-03 04:07:25 +00:00
Robby Findler
fddb1fa862 updated many unions to or/c's
svn: r2061
2006-01-31 19:17:33 +00:00
Robby Findler
c43a6f2821 added or/c as alias for union
svn: r2059
2006-01-31 16:29:12 +00:00
Robby Findler
f3a8a1895d minor improvement to provide/contract expansion (making it smaller)
svn: r2033
2006-01-30 01:30:47 +00:00
Robby Findler
edc4b96987 improved expansion of -> contract combinator to generate less stuff and got a very slight performance improvement. also split up contract implementation into multiple files
svn: r1956
2006-01-25 04:44:49 +00:00
Robby Findler
12c7c0b6c6 added this, bound in ->r and ->pp contracts, when used in object-contract
svn: r1841
2006-01-16 18:42:11 +00:00
Matthew Flatt
d19819f305 the flag table is never really empty, since -h and -- are always implcitly there
svn: r1730
2005-12-31 14:01:52 +00:00
Matthew Flatt
c38876b848 300.3
svn: r1698
2005-12-27 17:49:13 +00:00
Matthew Flatt
b43abfcc6d more v300.2
svn: r1683
2005-12-24 22:47:07 +00:00
Matthew Flatt
196a6fdff3 transplant-output-port needs to return #f instead of 0 when failing to write bytes
svn: r1593
2005-12-12 16:55:36 +00:00
Matthew Flatt
81c837ad26 export inherit-field
svn: r1496
2005-12-02 19:30:57 +00:00
Matthew Flatt
0095637dd7 make pretty-print graph numbering consistent
svn: r1417
2005-11-27 13:19:31 +00:00
Matthew Flatt
78622b7bb3 moved code out of macro expansion and into functions
svn: r1409
2005-11-25 22:50:56 +00:00
Matthew Flatt
c0476d4add strip #! from start of programs
svn: r1376
2005-11-22 22:34:35 +00:00
Matthew Flatt
9fae17c411 pretty-print needs to combine custom-write? with not-struct-type?
svn: r1370
2005-11-22 15:08:23 +00:00
Sam Tobin-Hochstadt
4d6d674d9f Factor render-test-list module into 3 units.
- getbindings contains defs for next-outer, create-test-func, getbindings
- ddk-handlers containts all the ddk junk
- render-test-list-impl contains render-test-list and simple dependencies
- render-sigs contains the signatures for all 3

Add define/opt to render-helpers (maybe this should go in etc.ss).

General cleanups in ddk-handlers.

svn: r1296
2005-11-12 16:42:23 +00:00
Sam Tobin-Hochstadt
bb69014fc7 render-test-list:
- cleanups and removal of quasisyntax/loc

svn: r1281
2005-11-11 18:35:08 +00:00
Matthew Flatt
6bff44b426 shortcut to letrec-syntaxes+values
svn: r1263
2005-11-09 20:48:42 +00:00
Matthew Flatt
e46ea7dbb2 fixed mapped id application context
svn: r1198
2005-11-01 20:13:36 +00:00
Eli Barzilay
8a425d27a6 other-keys now includes duplicates of specified keys
(if duplicates are allowed)

svn: r1149
2005-10-25 00:58:37 +00:00
Eli Barzilay
9ef65a4a80 * getarg' -> keyword-get'
* `#:rest-keys' -> `#:other-keys+body'

svn: r1147
2005-10-24 22:15:20 +00:00
Eli Barzilay
1cf3559d0c #:allow-anything can be used with any rest-like, simply treats a last
imbalanced keyword as the beginning of the body

svn: r1141
2005-10-24 11:24:41 +00:00
Eli Barzilay
0b1034dcf8 Made #:forbid-anything be the counterpart of #:allow-anything
svn: r1140
2005-10-24 11:05:34 +00:00