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