Commit Graph

287 Commits

Author SHA1 Message Date
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
Robby Findler
873e71a9dd fixed PR 7927
svn: r2341
2006-03-02 02:48:40 +00:00
Robby Findler
3172ffd027 added contract-violation->string parameter
svn: r2314
2006-02-24 15:37:58 +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
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
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
78622b7bb3 moved code out of macro expansion and into functions
svn: r1409
2005-11-25 22:50:56 +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
e46ea7dbb2 fixed mapped id application context
svn: r1198
2005-11-01 20:13:36 +00:00
Matthew Flatt
f3a67ccb9a added object-method-arity-includes
svn: r1123
2005-10-22 01:56:45 +00:00
Robby Findler
71a5040785 fixed pr 7628, ->d now checks the domain contract before partially applying the range function
svn: r1042
2005-10-11 12:57:57 +00:00
Matthew Flatt
57d39569fe removed #kd, fixed :interface
svn: r944
2005-09-29 20:06:09 +00:00
Matthew Flatt
63e051aee8 removed unused :ucall
svn: r938
2005-09-29 15:50:14 +00:00
Matthew Flatt
74a64f50da avoid leading colon for id
svn: r937
2005-09-29 15:49:48 +00:00
Sam Tobin-Hochstadt
d96e47c4b7 plt-match.ss/match.ss:
- don't export match:test-no-order, which is only used in generated code

test-no-order.ss
- reformat code
- use ormap instead of let loop

render-test-list:
- add define/opt sugar
- remove a lot of pointless stx arguments
- remove a lot of [quasi]syntax/loc

gen-match:
- use internal define instead of let
- remove quasisyntax/loc
- reformat
- remove pointlessly optional argument

coupling-and-binding:
- reformat
- use memf instead of custom loops

svn: r908
2005-09-23 19:55:12 +00:00
Sam Tobin-Hochstadt
24b6ae4b32 Match:
- Simplify code for getter and setter handling.
- Fix cons patterns
- Reformat code to make it more readable

svn: r822
2005-09-09 22:28:47 +00:00
Sam Tobin-Hochstadt
6f8d1ef4f2 getter-setter:
- Fix bug in handling of structures with set! patterns
  nested inside other patterns.
test-structure:
- add placeholder documentation for fields
- use #f instead of (make-inspector)

svn: r812
2005-09-09 15:58:34 +00:00
Robby Findler
442e9fad32 ,
svn: r531
2005-08-02 04:12:41 +00:00
Robby Findler
b01290c3ef fixed bug in provide/contract
svn: r411
2005-07-21 00:22:36 +00:00
Robby Findler
4b0e802fe4 fixed bugs dealing with super structs in provide/contract and fixed (newly exposed) bugs in mrflow
svn: r391
2005-07-18 13:06:30 +00:00
Robby Findler
20aa3cef02 made struct library work better with copy-struct; still not perfect
svn: r381
2005-07-16 04:41:29 +00:00
Sam Tobin-Hochstadt
b752dcddef Fix two bugs caused by clean ups, by adding requires of match-helper and provides of match:test-no-order.
Fix totally broken handling of structs with immutable fields, as reported in bug 7398.

svn: r354
2005-07-05 22:22:02 +00:00
Robby Findler
4070be1c1a exported coerce-contract
svn: r353
2005-07-05 21:37:21 +00:00
Matthew Flatt
3d8c40afe4 fixed verify- ops to take old-format exploded signatures
svn: r277
2005-06-30 16:40:13 +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
0d4bc2cd9d 299.107
svn: r259
2005-06-28 17:01:03 +00:00
Matthew Flatt
e4a71a9b3c match phase clean-up and minor contract-expansion improvement
svn: r232
2005-06-22 21:31:11 +00:00
Eli Barzilay
daa18fcba0 typos
svn: r66
2005-06-08 00:28:39 +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