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
Carl Eastlund
5165706529
Added an example for current-blame-format.
...
svn: r18413
2010-03-01 19:58:17 +00:00
Robby Findler
ce57869e4c
PR 10791
...
svn: r18412
2010-03-01 19:28:45 +00:00
Stevie Strickland
0900b6c2e3
Fix use of defform*/subs.
...
svn: r18373
2010-02-27 01:18:17 +00:00
Stevie Strickland
7dacfaea85
Add with-contract for expression positions.
...
svn: r18372
2010-02-27 01:05:03 +00:00
Carl Eastlund
1d6111c532
Renamed simple-contract and simple-flat-contract to make-contract and make-flat-contract.
...
svn: r18259
2010-02-22 02:51:16 +00:00
Carl Eastlund
137f9a3279
Fixed bugs in contract construction examples.
...
svn: r17963
2010-02-04 02:17:15 +00:00
Carl Eastlund
a4a25ba1e9
Wrote documentation for new contract interface. Still needs proofreading, etc.
...
svn: r17961
2010-02-03 21:02:02 +00:00
Carl Eastlund
a2226c965a
Updated documentation for "contract" form.
...
svn: r17910
2010-01-31 04:30:55 +00:00
Ryan Culpepper
63469d2f3d
scribblings: fixed misc doc typos
...
syntax/id-table: disabled debugging code
svn: r17215
2009-12-05 22:02:46 +00:00
Carl Eastlund
958e3418aa
Added caveat in Reference to "7.5 Building New Contract Combinators" and its
...
subsection "7.5.1 Contracts as structs" stating:
"Note: The interface in this section is unstable and subject to change."
This is in preparation for a new implementation of contract properties.
svn: r17014
2009-11-23 21:21:40 +00:00
Stevie Strickland
2a7664eba8
Fix up docs for flat-named-contract.
...
svn: r16929
2009-11-20 21:35:26 +00:00