Commit Graph

614 Commits

Author SHA1 Message Date
Matthew Flatt
b6f3bab025 add pin-curve, pin-arrow-curve, pin-arrows-curve
svn: r13818
2009-02-24 17:25:39 +00:00
Jon Rafkind
d3a8cd369a typo in prefix-out example
svn: r13798
2009-02-23 03:19:29 +00:00
Jon Rafkind
6777df63df add examples for require forms
svn: r13787
2009-02-22 03:31:35 +00:00
Robby Findler
5fd53ac98d fixed typo
svn: r13769
2009-02-21 16:38:09 +00:00
Matthew Flatt
24e4fd407b chat-noir literate small repairs
svn: r13765
2009-02-21 13:30:22 +00:00
Jon Rafkind
7663087254 add examples for require forms
svn: r13754
2009-02-20 21:05:08 +00:00
Jon Rafkind
84152a94f6 add examples for define-syntax and friends
svn: r13752
2009-02-20 04:28:10 +00:00
Matthew Flatt
ada4a7aeae allow negative years in a 'date' structure
svn: r13728
2009-02-18 21:29:58 +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
Matthew Flatt
87f92bc33e doc clarification
svn: r13719
2009-02-18 02:59:56 +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
316f48c8e1 Add a guide reference here.
svn: r13694
2009-02-17 14:55:55 +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
Matthew Flatt
0f18d68649 Scribble: change handling of argumentd in defproc, etc., to use lexical bidning instead of parameters and symbols; fix some docs
svn: r13688
2009-02-17 01:15:38 +00:00
Matthew Flatt
9927b0b576 changed htdp languages to allow identifier module paths; scribble improvements to latex back-end; added definterface
svn: r13681
2009-02-16 22:04:51 +00:00
Matthew Flatt
7947367373 rename local smaller
svn: r13673
2009-02-16 17:06:21 +00:00
Stevie Strickland
c6b92782e2 Rename cstruct to struct/ctc, to avoid confusion with cstruct from the ffi.
svn: r13661
2009-02-16 14:50:59 +00:00
Stevie Strickland
340035bef7 Adding cstruct, which is like the struct signature form but with contracts.
svn: r13647
2009-02-16 02:51:12 +00:00
Matthew Flatt
7daedece49 getting-started doc improvements, and small change to raise-syntax-error
svn: r13607
2009-02-15 15:15:06 +00:00
Matthew Flatt
8a2c68cffc improve hash docs to better point to the caveats (PR 10074)
svn: r13594
2009-02-15 02:31:42 +00:00
Stevie Strickland
cbcad0528c There is now a new form, define-unit/contract, that basically mixes
define-unit with the application of a unit contract.  So you can think
of it as a define/contract for units that keeps the static info needed
for link inference.

svn: r13584
2009-02-14 21:32:02 +00:00
Stevie Strickland
ba534102e8 Changed the name in the grammar, but not here.
svn: r13572
2009-02-14 08:11:16 +00:00
Stevie Strickland
ebe06e9572 Allowing _all_ types of tagged-sig-specs in unit/c, though whether that
makes sense or not, we'll see.  Easy enough to set up, and it also sets
up the plan for a new form I'd like to add, which is why I've factored out
the syntax classes into their own file.

svn: r13570
2009-02-14 07:40:50 +00:00
Stevie Strickland
50af2b09f7 Remove the contract clause here.
svn: r13566
2009-02-13 23:24:44 +00:00
Stevie Strickland
7865e23c03 Remove the example from here, now that there's information in the guide.
The example was malformed anyway.

svn: r13565
2009-02-13 23:22:17 +00:00
Stevie Strickland
dc78217029 Rework the docs so that we're explicit about how the variables in contract
expressions are bound.

svn: r13563
2009-02-13 23:18:26 +00:00
Stevie Strickland
12bbf258df I added the ability to mention a signature without the wrapping parens
late in the branch, but forgot to put it in the documentation.

svn: r13525
2009-02-12 00:32:29 +00:00
Stevie Strickland
fbb5de4fa7 Adding the initial cut at unit/c.
svn: r13524
2009-02-11 22:46:48 +00:00
Matthew Flatt
7b11c290f5 qq fixes, so that (quasiquote #(unquote lst)) is a syntax error
svn: r13517
2009-02-11 15:01:04 +00:00
Matthew Flatt
767766521c infix for literal prefab structs, quasiquote unquoting in value positions of hash-table literals, and related changes (v4.1.4.3)
svn: r13504
2009-02-09 15:27:51 +00:00
Matthew Flatt
8ce9e2457d typos
svn: r13433
2009-02-04 21:08:35 +00:00
Matthew Flatt
e5756667d6 use PDF-based picts in the Latex build of the Quick tutorial; in general, change a .pdf image extension to .png for HTML output; add package-original-identifiers and fix package-exporte-identifiers
svn: r13432
2009-02-04 21:03:28 +00:00
Eli Barzilay
bd561ab191 some paren typos
svn: r13416
2009-02-04 16:28:14 +00:00
Jon Rafkind
516ebbbc4c typo
svn: r13379
2009-02-03 17:25:46 +00:00
Eli Barzilay
c2d5c44a7f use make-evaluator in network example; describe common use for testing; describe nested call restriction
svn: r13343
2009-01-31 20:49:40 +00:00
Matthew Flatt
5e2dfcbac4 define-runtime-module-path
svn: r13283
2009-01-26 00:32:26 +00:00
Matthew Flatt
ed6e1ffda6 change 'syntax-local-transformer-expand' to capture lifts into a 'let'
svn: r13274
2009-01-24 13:49:33 +00:00
Matthew Flatt
df4b9f41a8 add bitwise-bit-field
svn: r13266
2009-01-23 17:22:57 +00:00
Eli Barzilay
4e6039bedd typo
svn: r13259
2009-01-22 18:53:14 +00:00
Matthew Flatt
db12513b65 fix #:all-defined for 'define-package' by adjusting 'identifier-remove-from-definition-context'; add for-syntax 'package?' and 'package-export-identifiers'; adjust Scribble to find definitions of phase-1 exports
svn: r13253
2009-01-21 20:00:55 +00:00
Matthew Flatt
ea0958e362 doc clarifications on module constants
svn: r13248
2009-01-21 15:44:30 +00:00
Stevie Strickland
46bcdf9924 I thought I'd already made this change to the documentation, but perhaps I
didn't commit it after all.

svn: r13191
2009-01-17 22:44:09 +00:00
Stevie Strickland
3c9cef3d82 Last sync before this goes live.
svn: r13184
2009-01-16 22:23:15 +00:00
Matthew Flatt
5c4193fd31 fix make-derived-parameter
svn: r13180
2009-01-16 20:04:12 +00:00
Stevie Strickland
0fcf609e2b Syncing again
svn: r13178
2009-01-16 19:11:18 +00:00
Stevie Strickland
768117b201 Sync to trunk in preparation of merging (though unit-contracts will go first).
svn: r13171
2009-01-16 16:59:20 +00:00
Stevie Strickland
c04baf6d83 Sync to trunk in preparation of merging.
svn: r13170
2009-01-16 16:59:09 +00:00