Commit Graph

28 Commits

Author SHA1 Message Date
Stevie Strickland
636adcc142 Refactoring all the private contract stuff into its own playpen.
svn: r16052
2009-09-17 20:55:37 +00:00
Robby Findler
5c73253e03 changed the low-level api for contracts so the projections accept an extra argument indicating if the contract is being used positively or negatively
svn: r15850
2009-09-01 16:25:08 +00:00
Robby Findler
06a4d0df4a got rid of define-struct/prop since scheme/base has a define-struct that does all that (and more) now
svn: r11727
2008-09-13 16:29:01 +00:00
Danny Yoo
b44494abe5 Disabling debug printf statement.
svn: r11538
2008-09-04 19:35:51 +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
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
018bc0e8f6 removed extraneous requires
svn: r7548
2007-10-21 22:57:12 +00:00
Robby Findler
176a888bb4 changed the case-> combinator back so that it does not use a symbolic comparison to find -> and friends
svn: r7460
2007-10-09 12:57:18 +00:00
Robby Findler
d9cb743afc removed an optimization that obscures the names in contracted functions
svn: r7379
2007-09-18 15:48:28 +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
b7c441833e tried to improve size of generated code for structs
svn: r7348
2007-09-15 19:57:28 +00:00
Robby Findler
2cb314de1b improved error message a little more, thanks to Jon Rafkind
svn: r6073
2007-04-28 21:50:05 +00:00
Robby Findler
bbb4f1c307 tweaked wording of any error message
svn: r6071
2007-04-28 20:21:04 +00:00
Robby Findler
db8cba03aa added unconstrained-domain->
svn: r5967
2007-04-17 18:54:19 +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
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
49667529da improved running time of contracts and moved some provide/contracts to the bottom of files (not necc yet, but may become necc)
svn: r3665
2006-07-09 21:07:04 +00:00
Robby Findler
79ae279b79 extended or/c to support multiple higher-order contracts
svn: r3606
2006-07-06 02:08:12 +00:00
Eli Barzilay
16f01a1109 {quick,merge}sort -> sort
svn: r2569
2006-04-01 12:24:15 +00:00
Robby Findler
ea9d5bfe8b improved internal contract stuff
svn: r2546
2006-03-30 19:05:54 +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
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
bb9b8eb90e finished lazy data structure contracts
svn: r2458
2006-03-19 00:03:48 +00:00
Robby Findler
7249080888 svn: r2393 2006-03-08 17:23:45 +00:00
Robby Findler
3172ffd027 added contract-violation->string parameter
svn: r2314
2006-02-24 15:37:58 +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