Stevie Strickland
636adcc142
Refactoring all the private contract stuff into its own playpen.
...
svn: r16052
2009-09-17 20:55:37 +00:00
Stevie Strickland
70e8f21ba2
Refactoring scheme/private/contract into reasonably sized pieces.
...
svn: r16049
2009-09-17 19:45:56 +00:00
Stevie Strickland
aca0bcf82e
First moving private/contract.ss to a different name. The diaspora from
...
that file into others will happen next.
svn: r16048
2009-09-17 17:42:45 +00:00
Stevie Strickland
7e8816ce0f
* Add initial version of define-struct/contract
...
* Allow uncontracted exports of syntax from a with-contract form.
svn: r13717
2009-02-18 02:25:45 +00:00
Stevie Strickland
5ac3135cd6
Syncing up here as well.
...
svn: r13118
2009-01-14 18:27:06 +00:00
Eli Barzilay
d1a0086471
newlines at EOFs
...
svn: r13105
2009-01-14 03:10:47 +00:00
Stevie Strickland
4ac235f534
Trunk merging, taking care to integrate Robby's changes appropriately. Only
...
change from what he did was that I added a name arg to the verify/contract
macro (he already has coerce-contract take a name appropriately, so this
was very simple, yay!).
svn: r11737
2008-09-13 23:17:58 +00:00
Robby Findler
85e489219c
a bunch more values are now converted into contracts automatically
...
svn: r11729
2008-09-13 22:35:09 +00:00
Stevie Strickland
0870c7ae1d
Actually, move the old-style define/contract to its own file in mzlib,
...
and change around mzlib/contract.ss appropriately.
svn: r11715
2008-09-13 02:51:09 +00:00
Stevie Strickland
c484131597
Okay, here's the old stuff put back, will fix up the unit tests when I get
...
home.
svn: r11709
2008-09-12 23:51:51 +00:00
Matthew Flatt
52581d024b
improve scribble memory use (a little bit)
...
svn: r9601
2008-05-02 19:48:57 +00:00
Robby Findler
79f4b8ff30
removed union from scheme/contract
...
svn: r8745
2008-02-20 21:18:48 +00:00
Robby Findler
cda0888ab9
renamed string/len to string-len/c
...
svn: r8237
2008-01-06 15:53:50 +00:00
Robby Findler
342eb86c10
finished the new ->*
...
svn: r8086
2007-12-20 20:35:58 +00:00
Robby Findler
9a0498b44d
moved class, contracts, serialize, and traits into scheme/ and changed the class and contract interface so that contracts no longer depend on the class system (instead its the other way around)
...
svn: r8017
2007-12-15 18:46:55 +00:00
Robby Findler
65cfcd5722
moved contracts back to contract library
...
svn: r7367
2007-09-17 17:09:58 +00:00
Robby Findler
bd93217061
refactored the contract system so that contracts do not depend on the class system, and now the class contracts are exported from class.ss
...
svn: r7357
2007-09-17 02:27:05 +00:00
Robby Findler
44ca7fb6e5
changed the set of exported names a little bit
...
svn: r6577
2007-06-11 20:50:50 +00:00
Robby Findler
81ce545d63
added define-opt/c
...
svn: r5515
2007-01-31 01:12:19 +00:00
Robby Findler
de59204fa5
some cleanup
...
svn: r5503
2007-01-30 00:54:23 +00:00
Robby Findler
4ad8fdadea
merged the opt/c changes back into the trunk (finally!)
...
svn: r5481
2007-01-28 02:54:16 +00:00
Matthew Flatt
e7cc73c1cf
hack to experiment with disabling contracts
...
svn: r5454
2007-01-25 06:20:22 +00:00
Shu-Yu Guo
dfaad3f28a
contract opting should not be provided for release.
...
svn: r4795
2006-11-06 20:45:47 +00:00
Shu-Yu Guo
bd0b34a9ac
- refactored opt/c to its own struct/prop
...
- moved opters next to their respective original contracts where possible
- the rest moved to contract-basic-opters.ss to avoid module cycle
- fixed some typos
svn: r4774
2006-11-04 05:02:57 +00:00
Robby Findler
d8a72d982f
added contract-opt, renamed contract-helpers to be a .ss, not .scm
...
svn: r4207
2006-08-31 22:30:13 +00:00
Robby Findler
79ae279b79
extended or/c to support multiple higher-order contracts
...
svn: r3606
2006-07-06 02:08:12 +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
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
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
e3b5ba8ef8
moved contract library to private, in order to export a few more names to special places
...
svn: r272
2005-06-29 23:33:51 +00:00
Matthew Flatt
e4a71a9b3c
match phase clean-up and minor contract-expansion improvement
...
svn: r232
2005-06-22 21:31:11 +00:00
Robby Findler
06b511f323
added recursive contracts and fixed a bug or two
...
svn: r81
2005-06-09 18:56:19 +00:00
Eli Barzilay
017d151d59
Adding collects, with all the right properties (except eoln-style).
...
svn: r3
2005-05-27 18:56:37 +00:00