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
Sam Tobin-Hochstadt
fb29a2498e
Move a bunch of functions from typed-scheme/utils/utils to unstable.
...
Add convenience lib for unstable docs.
Add char support to format-{id,symbol}
Add unstable/sequence library.
svn: r16789
2009-11-15 22:15:29 +00:00
Robby Findler
bf911e8c7a
bare bones documentation of the contract library's struct properties
...
svn: r16585
2009-11-06 22:31:46 +00:00
Robby Findler
4ddbe71e2d
fixed the comparison contracts so they work right wrt to complex numbers
...
svn: r16445
2009-10-28 16:04:39 +00:00
Stevie Strickland
c17885638a
* Fix with-contract so that all uncontracted names are automatically exported
...
* Also allow mutation of contracted names that flow in/out of with-contract.
svn: r16376
2009-10-19 23:17:30 +00:00
Stevie Strickland
df409ae42f
Fixes some bad references in the mzlib scribble documentation that refer to
...
things that have moved away from the base contract file.
svn: r16127
2009-09-25 14:57:36 +00:00
Stevie Strickland
636adcc142
Refactoring all the private contract stuff into its own playpen.
...
svn: r16052
2009-09-17 20:55:37 +00:00
Stevie Strickland
aca0bcf82e
First moving private/contract.ss to a different name. The diaspora from
...
that file into others will happen next.
svn: r16048
2009-09-17 17:42:45 +00:00
Jon Rafkind
974cc561bb
add #:property to define-struct/contract list of keywords
...
svn: r15975
2009-09-11 17:39:12 +00:00
Jon Rafkind
e95e50435c
typo
...
svn: r15909
2009-09-08 04:44:41 +00:00