Commit Graph

17726 Commits

Author SHA1 Message Date
Stevie Strickland
a930719a87 Add the contract information to chaperoned boxes, hashes, and vectors. 2010-09-16 20:49:04 -04:00
Stevie Strickland
51629f8c3d Add new proxy property for contracted values.
Change has-contract? and value-contract to check for either prop:contracted
(the struct property) or proxy-prop:contracted (the proxy property).
2010-09-16 20:49:04 -04:00
Stevie Strickland
4080eacfb8 Fix the error when a chaperone contract does not return a valid value. 2010-09-16 16:30:49 -04:00
Jay McCarthy
afcc7c818d Fixing redirectget test 2010-09-16 13:42:47 -06:00
Ryan Culpepper
3b95c7acd5 set responsibility for data collection 2010-09-16 13:20:07 -06:00
Ryan Culpepper
1a03a47842 updated splay-tree & skip-list interfaces, docs, tests, performance tests 2010-09-16 13:20:07 -06:00
Ryan Culpepper
12e2d6d76a splay-tree: tried top-down splay, tested, no time advantage 2010-09-16 13:20:07 -06:00
Ryan Culpepper
19be445d89 contracts for gvector, skip-list
reorganized tests
2010-09-16 13:20:06 -06:00
Stevie Strickland
50c408e872 Simplify abstraction, now that it only deals with lists.
Also convert listof/non-empty-listof to create chaperone contracts
when appropriate.
2010-09-16 15:04:42 -04:00
Stevie Strickland
6446d267ea Removing now-unneeded abstractions for *-immutable/c.
Also converting cons/c to create chaperone contracts when appropriate.
2010-09-16 15:04:41 -04:00
Stevie Strickland
2677cbf1a4 Cleanups to first-order checking for box/vector/hash contracts.
* We no longer capture a contination when we have blame information.
 * We perform first-order checks more eagerly in the mutable case.
2010-09-16 15:04:41 -04:00
Stevie Strickland
2c940a7fd0 Alter the documentation for vector contracts to match the new implementations. 2010-09-16 15:04:41 -04:00
Stevie Strickland
b416b7e5bb Now migrate vector/c and vector-immutable/c.
Also add old-style vector/c to mzlib/contract.
2010-09-16 15:04:41 -04:00
Stevie Strickland
3028f2d142 Convert vectorof/vector-immutableof to the new regime.
Also add old-style vectorof to mzlib/contract.
2010-09-16 15:04:41 -04:00
Stevie Strickland
c8737d5615 Separate out vector-related contract combinators into a new file. 2010-09-16 15:04:41 -04:00
Jay McCarthy
089e99fac6 Removing debugging aid 2010-09-16 12:45:38 -06:00
Blake Johnson
c88eb704c7 removing indirects from zo handling 2010-09-16 12:45:37 -06:00
Jay McCarthy
4f49658835 Fixing problem reported by Robby.
Contracts intefere with safety marks.
2010-09-16 12:45:37 -06:00
Jay McCarthy
ab5a9ff1e8 Removing extra run-tests 2010-09-16 12:45:37 -06:00
Jay McCarthy
1f4c525245 Fixing pr11214 2010-09-16 12:45:37 -06:00
Jay McCarthy
3498ac8744 Doc rearrange re Robby 2010-09-16 12:45:37 -06:00
Jay McCarthy
c87877349e Doc clarification re Robby 2010-09-16 12:45:37 -06:00
Jay McCarthy
4ce56d00ef Fixing xref re Robby 2010-09-16 12:45:36 -06:00
Jay McCarthy
4a89ccea5d Fixing an annoyance with eli-tester when the error string contains ~ 2010-09-16 12:45:36 -06:00
Jay McCarthy
940438e7c4 Adding DrDr monitor 2010-09-16 12:45:36 -06:00
Robby Findler
b8fc5fcfce Rackety 2010-09-16 13:37:34 -05:00
Robby Findler
28a253b206 added current-pretty-printer 2010-09-16 13:37:33 -05:00
Vincent St-Amour
e0bda30738 Documented optional for: and let: annotations. 2010-09-16 13:24:11 -04:00
Vincent St-Amour
7e2094f2d7 Added a test for optional let annotations. 2010-09-16 13:24:10 -04:00
Vincent St-Amour
8aab96faa6 Made annotations optional for let: and variants. 2010-09-16 13:24:10 -04:00
Mike Sperber
2d378775fc Unbreak compile for new libpng.
From: Mariusz Ceier <mceier@gmail.com>

http://lists.racket-lang.org/dev/archive/2010-September/004328.html
2010-09-16 18:19:33 +02:00
Mike Sperber
9e94a327b8 Add `any' signature to DMdA languages. 2010-09-16 18:19:32 +02:00
Robby Findler
d03a7b220a added docs for linebreaks parameter
Adjusted implementation of linebreaking so that
  when there are linebreaks in a metafunction, the =
  signs line up together independent of the broken lines
2010-09-16 10:51:17 -05:00
Vincent St-Amour
e03e53b1cb Fix some optimizer test logs to reflect racket changes. 2010-09-16 10:48:28 -04:00
Vincent St-Amour
9f87b5a7e6 Made some type annotations optional in the for: macros. 2010-09-15 20:21:51 -04:00
Vincent St-Amour
8b60085a17 Removed useless requires. 2010-09-15 20:21:51 -04:00
Vincent St-Amour
1b28aa41c7 Removed an obsolete comment. 2010-09-15 20:21:51 -04:00
Vincent St-Amour
a10d145f25 Added annotated versions of the for macros that generate vectors.
They are purposedly left out of the documentation since the typchecker
can't currently handle their expansion.
2010-09-15 20:21:50 -04:00
Vincent St-Amour
65c502f9d7 Added a test to make sure derived lists accessors don't get optimized then they shouldn't. 2010-09-15 20:21:50 -04:00
Stevie Strickland
fce93a2d98 Altering the box/c and box-immutable/c documentation. 2010-09-15 17:17:38 -04:00
Stevie Strickland
e3678a937e Change box-immutable/c to use box/c with #:immutable #t. 2010-09-15 17:05:34 -04:00
Stevie Strickland
99e5d6fd6c Add appropriate syntax properties to uses of box/c. 2010-09-15 16:57:17 -04:00
Stevie Strickland
994ad6d10f Now change box/c to use proxies or chaperones appropriately.
Create a mzlib/contract compatible version of the old box/c and use that
for mzlib/contract.  Change the docs so that the docs for mzlib/contract
contain the right information.

Fix the typed-scheme implementation to only force flat box (or hash)
contracts when it already is required to be flat.  Otherwise, allow
non-flat contracts for the element contract (or domain/range contracts).
2010-09-15 16:57:17 -04:00
Stevie Strickland
b8fb6dae9a Initially just move the box-related combinators to a new location. 2010-09-15 16:53:18 -04:00
Stevie Strickland
a838fa0606 Fixing the docs for the new hash/c combinator. 2010-09-15 15:04:27 -04:00
Stevie Strickland
4a48da022b Adding syntax properties for contract obligations to uses of hash/c. 2010-09-15 15:01:27 -04:00
Stevie Strickland
56b83e4a96 Add chaperone-based hash/c contracts.
* Domain contracts must be either flat or chaperone contracts.
 * When the domain is a chaperone contract, hash/c must check
   that the hash is equal?-based.
2010-09-15 13:57:50 -04:00
Stevie Strickland
d2b3ee8892 Code and test fixes for new chaperone-based hash/c contracts. 2010-09-15 13:37:37 -04:00
Stevie Strickland
f5b62ececd Separate out hash/c code into a separate module. 2010-09-15 11:22:57 -04:00
Stevie Strickland
a1c188ae74 Add appropriate documentation for the new chaperone contract forms. 2010-09-15 10:11:10 -04:00