Robby Findler
61da010d5f
PR 10636
...
svn: r17163
2009-12-02 17:09:07 +00:00
Carl Eastlund
3b9d254fda
Merged changes from branches/cce/plt+contract-tests:
...
- Added tests for make-proj-contract
- Added tests for opt/c, specifically to track 'positive-position?' blame
- Fixed 'positive-position?' in opt/c (bug 10629)
svn: r17105
2009-11-30 04:40:51 +00:00
Robby Findler
4ddbe71e2d
fixed the comparison contracts so they work right wrt to complex numbers
...
svn: r16445
2009-10-28 16:04:39 +00:00
Stevie Strickland
c17885638a
* Fix with-contract so that all uncontracted names are automatically exported
...
* Also allow mutation of contracted names that flow in/out of with-contract.
svn: r16376
2009-10-19 23:17:30 +00:00
Robby Findler
7dbd784048
PR 10518
...
svn: r16282
2009-10-08 16:32:37 +00:00
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
c7255c9daf
Copy/paste error.
...
svn: r15978
2009-09-11 19:39:08 +00:00
Jon Rafkind
d0611c8871
add keyword tests for define-struct/contract
...
svn: r15974
2009-09-11 17:37:59 +00:00
Jon Rafkind
260ef74035
add define-struct/contract sub-typing tests
...
svn: r15888
2009-09-05 16:48:15 +00:00
Robby Findler
937d2efab3
added exists to provide/contract
...
svn: r15871
2009-09-04 04:52:02 +00:00
Stevie Strickland
acce62b181
Add in one test that uses unit/c (via define-unit/contract) instead of just
...
the signature based contracts.
svn: r15855
2009-09-01 22:00:15 +00:00
Stevie Strickland
8ae58f1244
Primarily this is a change so that the negative party entering into
...
with-contract based contracts is the syntactic context of the with-contract
expression. Also, there's some code cleanup.
svn: r15665
2009-08-03 21:15:44 +00:00
Robby Findler
b5b32d1d8e
added automatic compilation to the module language, plus various other tweaks (contract library enhancement, bug fixes here and there)
...
svn: r15635
2009-07-30 05:17:40 +00:00
Robby Findler
ec44ee7df1
added hash/c
...
svn: r15210
2009-06-18 21:31:33 +00:00
Robby Findler
01af999556
svn: r14768
2009-05-10 21:53:09 +00:00
Robby Findler
6d08558ab7
fixed a bug in my earlier bugfix (also PR 10221)
...
svn: r14662
2009-04-29 21:08:01 +00:00
Robby Findler
87c9aba9e0
added a little optimization to provide/contract
...
svn: r14646
2009-04-29 03:48:45 +00:00
Stevie Strickland
7e1ea98876
Pull back Robby's allowance of all struct options just a bit, plus handle
...
the ones we do allow natively.
svn: r13727
2009-02-18 21:14:50 +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
3ff2184a38
Add the first-order free variable contract checks I mentioned earlier.
...
svn: r13707
2009-02-17 20:50:56 +00:00
Stevie Strickland
9098c94e9c
Add first-order checks for free variable contracts, and tests for everything.
...
svn: r13706
2009-02-17 20:48:04 +00:00
Stevie Strickland
cf916f51fa
Forgot to add rename-transformers for unprotected ids.
...
svn: r13704
2009-02-17 19:58:26 +00:00
Stevie Strickland
1943083cf9
Fix nested with-contracts by checking explicitly for ssps. Apparently
...
painting the bindings causes the ssp to later fail when you try to access
the parameter. Not sure if this is a bug or not, will talk to Matthew.
svn: r13621
2009-02-15 21:59:22 +00:00
Stevie Strickland
e6999c8184
Just to ensure that nothing wonky goes on, change these to function names that
...
aren't in scheme/base.
svn: r13201
2009-01-18 05:54:58 +00:00
Stevie Strickland
92fa69c387
Add some tests that check interaction between with-contract (here
...
through define/contract) and unit contracts.
svn: r13183
2009-01-16 22:21:18 +00:00
Stevie Strickland
a4165d14b4
Change this to match how the error messages now come across.
...
svn: r13125
2009-01-14 21:39:43 +00:00
Stevie Strickland
22ee00b10f
Oh, no! Aliens, bio-duplication, nude conspiracies.. oh my God,
...
Lyndon LaRouche was right!
svn: r13037
2009-01-08 14:55:23 +00:00
Robby Findler
97e00eef97
fixed a bug in the ->d contract checking (wrt tail dropping)
...
svn: r12987
2009-01-03 16:57:46 +00:00
Robby Findler
3af2ea45d0
changed ->d so that it only checks the contract just above, not many above
...
svn: r12986
2009-01-03 16:40:54 +00:00
Stevie Strickland
3212d11712
Add all changes from branches/with-contract (which this branch will replace
...
eventually), plus a couple of fixes in contract-test.ss.
svn: r12451
2008-11-14 16:48:17 +00:00
Robby Findler
773aaca3ba
made mutual recursion work for ->d
...
svn: r12366
2008-11-09 13:42:46 +00:00
Robby Findler
2394848555
function contracts now preserve tail recursion
...
svn: r12360
2008-11-09 02:31:25 +00:00
Robby Findler
122f8d41dc
PR 9852
...
svn: r12076
2008-10-20 20:08:05 +00:00
Robby Findler
eb7d9be3f0
fixed the contract? predicate so that it recognizes thigns that aren't yet turned into contract structs
...
svn: r12043
2008-10-15 12:54:37 +00:00
Robby Findler
2ef287f107
added empty as a coerceable value
...
svn: r12025
2008-10-13 21:09:18 +00:00
Robby Findler
d165c586af
PR 9760
...
svn: r11766
2008-09-15 21:58:59 +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
Robby Findler
2ece9d9e95
PR 9729
...
svn: r11567
2008-09-07 12:46:17 +00:00
Robby Findler
4993e26b0a
PR 9442
...
svn: r10603
2008-07-04 20:22:33 +00:00
Robby Findler
9f69672740
fixed bug from the mailing list
...
svn: r9830
2008-05-14 11:46:49 +00:00
Robby Findler
e5fba85ed0
fixed a bug in check syntax and a bug in the contract system
...
svn: r9524
2008-04-28 22:12:21 +00:00
Robby Findler
9ba432ab9c
added the _ special case to ->d
...
svn: r8998
2008-03-17 04:01:39 +00:00
Eli Barzilay
b1a08edd5a
use new require specs in many places
...
svn: r8774
2008-02-23 09:42:03 +00:00
Robby Findler
f0efed2a3e
PR 9200
...
svn: r8746
2008-02-20 22:39:07 +00:00
Robby Findler
1acf42513e
added a test case for a bug that turned out to be in mzscheme, but just to make sure it don't come back ...
...
svn: r8648
2008-02-13 18:26:29 +00:00
Robby Findler
cda0888ab9
renamed string/len to string-len/c
...
svn: r8237
2008-01-06 15:53:50 +00:00
Robby Findler
3cf6ed4673
mostly finished the contract library changes
...
svn: r8195
2008-01-03 18:10:43 +00:00
Robby Findler
e7b5653dd6
finished case->
...
svn: r8178
2008-01-02 01:24:55 +00:00
Robby Findler
90de53d2b2
finished ->d
...
svn: r8166
2007-12-30 23:36:58 +00:00
Robby Findler
342eb86c10
finished the new ->*
...
svn: r8086
2007-12-20 20:35:58 +00:00