Robby Findler
1fdfd8406d
made sure that all of the mzlib/contract exports are documented
...
(some by using racket/contract exports and some by adding
more docs)
2011-04-25 11:54:14 -05:00
Robby Findler
be1a0e62f7
added docs for current-contract-region
2011-04-25 11:53:23 -05:00
Robby Findler
21cbd9ad81
added the racket/contract/combinator library,
...
and documented and adjusted these libraries:
racket/contract/base
racket/contract/exists
racket/contract/parametric (renamed from exists)
racket/contract/region
2011-04-25 11:51:44 -05:00
Stevie Strickland
bdd5ac2d41
Document prop:contracted and impersonator-prop:contracted.
2011-04-15 16:29:17 -04:00
Robby Findler
ec50a8c5a2
additional fixes to the docs and racket/contract's exports to make them match up
2011-04-15 12:44:44 -05:00
Robby Findler
570a3e58b9
renamed parametric/c to parametric->/c
...
and cleaned up the organization of the related files
2011-04-09 21:45:49 -05:00
Ryan Culpepper
f49412add8
moved unstable/poly-c to racket/contract/parametric
2011-04-08 08:25:22 -06:00
Matthew Flatt
0b496d5275
a round of doc corrections from Gwyth
2011-03-10 06:34:33 -06:00
Robby Findler
07a2ace943
added the #:pre/name and #:post/name keywords to ->i
2011-02-25 13:42:09 -06:00
Robby Findler
4b68377af1
Revert "started adding comments to the #:pre and #:post parts of ->i"
...
This reverts commit a27b7d5c61
.
ack, sorry.
2011-02-25 09:44:34 -06:00
Robby Findler
a27b7d5c61
started adding comments to the #:pre and #:post parts of ->i
2011-02-25 09:42:23 -06:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Robby Findler
51ad306af2
changed real-in to be an alias for between/c
2011-01-04 15:40:32 -06:00
Matthew Flatt
3bb120545f
fix ~300 typos reported by Vladimir Nesterovich (a.k.a. Gwyth)
...
--- but Gwyth's amazingly helpful review of chapters 1-11
pointed out a few problems that are more difficult to fix
and are still pending
2011-01-04 09:53:31 -07:00
Stevie Strickland
37349ca053
Allow uses of recursive-contract to specify the type of contract to create.
2010-12-07 18:30:20 -05:00
Stevie Strickland
5b8e5d6380
Extend struct/c to allow impersonator contracts for mutable fields.
...
Also, flat contracts for immutable fields are only evaluated at contract
wrapping time.
2010-12-07 14:29:07 -05:00
Stevie Strickland
10eb818f95
Conversion of struct/c to chaperones when appropriate.
2010-12-07 04:11:26 -05:00
Robby Findler
5a9c469b0f
added forall to go along with exists contracts
2010-11-11 14:39:43 -06:00
Matthew Flatt
7f67b6569c
v5.0.99.2: proxy' ->
impersonator'
2010-11-08 06:23:16 -07:00
Matthias Felleisen
c83cf15695
fixed some typos, and in the process rewrote some prose
2010-11-06 10:19:24 -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
c8737d5615
Separate out vector-related contract combinators into a new file.
2010-09-16 15:04:41 -04:00
Stevie Strickland
fce93a2d98
Altering the box/c and box-immutable/c documentation.
2010-09-15 17:17:38 -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
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
Robby Findler
d5a3e08131
added docs for the check syntax / contract system interaction
2010-09-04 11:18:39 -05:00
Robby Findler
a10cd9d14d
improved the ->* docs
2010-08-13 09:54:51 -05:00
Robby Findler
120e6a25ee
added #:pre and #:post to ->*
2010-08-13 07:05:27 -05:00
Robby Findler
367779fd27
added contract-struct (like define-contract-struct, but with a
...
maker whose name does not begin with 'make-')
2010-08-10 22:20:33 -05:00
Robby Findler
88aafb52eb
clarified the order of evaluation for contract expressions in ->i
2010-08-07 14:35:07 -05:00
Robby Findler
c1b558e1a3
adjusted the syntax of ->i so that #:post and #:pre get a list of variables now
2010-08-07 14:35:06 -05:00
Robby Findler
64a1ddcda9
adjusted the syntax for ->i so that #:rest is not ambiguous anymore (added extra parens, deviating from ->d a little bit) and updated the test suite
2010-08-07 14:35:05 -05:00
Robby Findler
3c70b9d2ab
improved docs for ->i, added docs for the-unsupplied-arg and exported
...
and added docs for unsupplied-arg?.
2010-08-07 14:35:04 -05:00
Robby Findler
a524595af2
docs for ->i
2010-08-07 14:35:04 -05:00
Robby Findler
f7c1a97c0b
Added syntax properties to provide/contract so that the contracts on exported variables can be recovered from the fully expanded program.
2010-07-09 15:03:41 -05:00
Robby Findler
f83784452e
made ->d's optional argument spec itself optional
2010-07-02 20:52:48 -05:00
Robby Findler
0126324f41
documented contract-stronger?
2010-06-06 14:57:11 -05:00
Eli Barzilay
28946a0a43
More reformatting
2010-05-21 20:41:35 -04:00
Matthew Flatt
bf5967f30b
adjust (provide/contract (struct ....)) to work with new constructor-name convention
2010-05-04 18:25:11 -06:00
Matthew Flatt
737b6fac01
rackety reference; any lingering reference to racket as scheme is a doc bug
2010-04-27 08:20:16 -06:00
Matthew Flatt
dbc4ea6e82
racketify reference more
2010-04-26 14:42:33 -06:00
Matthew Flatt
c7e723eef7
somewhat rackety core docs
2010-04-22 15:10:25 -06:00
Matthew Flatt
c95a398754
move most of the 'scheme' collection to the 'racket' collection
2010-04-20 15:24:48 -06:00
Robby Findler
bcbdcc2eaf
added the #:generator argument to the contract property maker
2010-04-15 23:29:39 -04:00
Stevie Strickland
bf60da75e1
Refactor out new has-contract?/value-contract functionality so that it's
...
the responsibility of the (higher-order) contract to add the contract
(plus possibly more in the future) to the wrapped value.
svn: r18469
2010-03-04 21:10:44 +00:00
Robby Findler
07f280419a
added has-contract? and get-contract
...
svn: r18460
2010-03-04 03:58:33 +00:00
Stevie Strickland
5fe0a790c1
Change how contracts for multiple values are handled to be a little cleaner
...
syntactically.
svn: r18458
2010-03-04 00:04:07 +00:00
Stevie Strickland
f2788561d3
Add the ability to contract more than one value returned from a with-contract
...
block in expression position.
svn: r18456
2010-03-03 21:54:18 +00:00