Commit Graph

37 Commits

Author SHA1 Message Date
Shu-Yu Guo
eaf71a272a typos, name tests for opt/c.
svn: r4781
2006-11-05 06:45:58 +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
4a6cee9cf8 fixed bug where the name has disappeared from a contract violation (and added test cases, of course)
svn: r4235
2006-09-04 02:07:01 +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
d9ac9270a8 provide/contract now grabs the source locations from the identifiers that have contracts, not some other part of itself
svn: r4187
2006-08-29 13:14:33 +00:00
Robby Findler
2edea47556 fixed PR 8215
svn: r3994
2006-08-09 03:28:59 +00:00
Eli Barzilay
bb5b45b181 re-do changes that were undone in r3843
svn: r3859
2006-07-28 08:15:46 +00:00
Eli Barzilay
5099b078c6 Undo the following revisions:
r3839
  r3825
  r3823
  r3821
  r3820 (undo only the changes in drscheme/private/debug.ss)
  r3792
  r3791

They will be re-done after v352 is released

svn: r3843
2006-07-27 17:12:18 +00:00
Robby Findler
967cd9ab14 fixed PR 8190
svn: r3839
2006-07-27 14:10:55 +00:00
Robby Findler
ea3c2b9743 sped up or/c (probably) and fixed ordering in printout of or/c contract names
svn: r3825
2006-07-26 17:07:47 +00:00
Robby Findler
73ce86e94b fixed PR 8166
svn: r3701
2006-07-13 19:29:04 +00:00
Robby Findler
6575c9c58d fixed performance problem with (provide/contract (struct ...))
svn: r3698
2006-07-13 14:49:12 +00:00
Robby Findler
0d07f36ab7 added first order checking and some stop-gap checking for sub-structs
svn: r3675
2006-07-10 20:57:33 +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
Robby Findler
0ad4118f6f fixed image.ss to handle the case when positive and negative infinity are supplied to overlay/xy and also limited one-of/c's inputs
svn: r2659
2006-04-11 13:53:53 +00:00
Robby Findler
1c97b4c21f fixed PR 7999 and added one-of/c to the contract library
svn: r2650
2006-04-10 03:54:55 +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
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
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
78622b7bb3 moved code out of macro expansion and into functions
svn: r1409
2005-11-25 22:50:56 +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
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
Robby Findler
4070be1c1a exported coerce-contract
svn: r353
2005-07-05 21:37:21 +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