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
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
Jon Rafkind
03be1db63e
add examples for define-contract/struct
...
svn: r15889
2009-09-05 17:04:14 +00:00
Robby Findler
937d2efab3
added exists to provide/contract
...
svn: r15871
2009-09-04 04:52:02 +00:00
Robby Findler
5c73253e03
changed the low-level api for contracts so the projections accept an extra argument indicating if the contract is being used positively or negatively
...
svn: r15850
2009-09-01 16:25:08 +00:00
Robby Findler
b5b32d1d8e
added automatic compilation to the module language, plus various other tweaks (contract library enhancement, bug fixes here and there)
...
svn: r15635
2009-07-30 05:17:40 +00:00
Robby Findler
269a9ba98d
svn: r15511
2009-07-20 22:48:57 +00:00
John Clements
edb16e4f4a
fixed two grammatical typos
...
svn: r15302
2009-06-26 18:26:40 +00:00
Robby Findler
ec44ee7df1
added hash/c
...
svn: r15210
2009-06-18 21:31:33 +00:00
Eli Barzilay
c0a8a01222
Changed @itemize{...} to @itemize[...] (done after comparing the doc
...
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)
svn: r14427
2009-04-05 17:46:20 +00:00
Carl Eastlund
2068a5dcc3
Corrected a typo in the contracts reference ('exmaple' -> 'example').
...
svn: r14151
2009-03-17 15:36:36 +00:00
Robby Findler
976ec00702
fixed docs
...
svn: r13937
2009-03-04 02:17:26 +00:00
Stevie Strickland
7e1ea98876
Pull back Robby's allowance of all struct options just a bit, plus handle
...
the ones we do allow natively.
svn: r13727
2009-02-18 21:14:50 +00:00
Stevie Strickland
7e8816ce0f
* Add initial version of define-struct/contract
...
* Allow uncontracted exports of syntax from a with-contract form.
svn: r13717
2009-02-18 02:25:45 +00:00
Stevie Strickland
5f01ad8412
Copy and paste error.
...
svn: r13702
2009-02-17 18:27:54 +00:00
Stevie Strickland
792dc70ea6
Add description of what #:freevars/#:freevar does.
...
svn: r13701
2009-02-17 18:26:24 +00:00
Stevie Strickland
64a68db15d
Initial attempt at free var contracts. Needs a little more work, but might
...
handle Robby's use cases.
svn: r13700
2009-02-17 18:18:53 +00:00
Stevie Strickland
7920cc48a3
Clean up define/contract's description a bit, and avoid leaning on
...
with-contract as much.
svn: r13693
2009-02-17 14:30:00 +00:00
Stevie Strickland
22ee00b10f
Oh, no! Aliens, bio-duplication, nude conspiracies.. oh my God,
...
Lyndon LaRouche was right!
svn: r13037
2009-01-08 14:55:23 +00:00
Robby Findler
c9ebe9bba3
changed the way or/c works; PR 10010
...
svn: r13030
2009-01-07 16:48:17 +00:00
Robby Findler
2afe7621b3
PR 10010
...
svn: r13029
2009-01-07 16:06:37 +00:00
Stevie Strickland
6d966c80af
Syncing
...
svn: r12982
2009-01-03 03:09:06 +00:00
John Clements
14b0203fb9
changed res-expr to range-expr for consistency
...
svn: r12943
2008-12-27 07:22:38 +00:00
Stevie Strickland
29487b251e
I guess this documentation got lost at some point during the various branch
...
moves, so add it back.
svn: r12888
2008-12-18 17:13:13 +00:00
Robby Findler
2394848555
function contracts now preserve tail recursion
...
svn: r12360
2008-11-09 02:31:25 +00:00
Matthew Flatt
7a55275a26
unit bug fixes related to new scoping of signature elements; change scribble/manual to compute ids typeset as variables at compile time, in preparation for moving from a parameter to syntax bindings; fix docs typos; extend decompiler's support for unmarshaling syntax objects
...
svn: r12046
2008-10-15 22:23:56 +00:00
Robby Findler
2e9ac659bd
svn: r12044
2008-10-15 13:00:01 +00:00
Matthew Flatt
bad81f8bcd
small edits to contract docs
...
svn: r12028
2008-10-14 00:13:12 +00:00
Robby Findler
7ace3962fa
improved overview a little
...
svn: r12027
2008-10-13 22:31:43 +00:00
Robby Findler
d69957455c
a bunch more values are now converted into contracts automatically (added bytes)
...
svn: r11730
2008-09-13 22:37:16 +00:00
Robby Findler
85e489219c
a bunch more values are now converted into contracts automatically
...
svn: r11729
2008-09-13 22:35:09 +00:00
Robby Findler
44b62899fa
improved blame error message when there is no source location
...
svn: r11526
2008-09-02 16:12:13 +00:00