Commit Graph

1239 Commits

Author SHA1 Message Date
Matthew Flatt
2c54268228 move pref file to .rtkd extension, and automatically read from the old PLT Scheme path if the new one doesn't exist 2010-04-28 07:24:39 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
1fedf04739 partly rackety guide 2010-04-27 14:09:51 -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
b7c184632b racket/unsafe/ffi -> ffi/unsafe, etc. 2010-04-26 18:05:29 -06:00
Matthew Flatt
e6e06bb1a3 remove racket/nest, since 'nest' didn't catch on 2010-04-26 15:41:39 -06:00
Matthew Flatt
dbc4ea6e82 racketify reference more 2010-04-26 14:42:33 -06:00
Matthew Flatt
616080c7c4 change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc. 2010-04-25 12:10:36 -06:00
Matthew Flatt
f60c178964 change defstruct rendering 2010-04-24 08:29:45 -06:00
Matthew Flatt
b0deb8affb more doc and scribble repairs 2010-04-24 07:18:11 -06:00
Matthew Flatt
76754c5443 set-subset? to subset? 2010-04-24 07:18:11 -06:00
Matthew Flatt
7cb13860ee reference racket conversions and scribble qq repairs 2010-04-23 17:00:53 -06:00
Matthew Flatt
d824fef4f7 add set-subset? 2010-04-23 17:00:51 -06:00
Matthew Flatt
845ebfbeb8 hash, hasheq, hasheqv, and hash-equal? 2010-04-23 12:18:42 -06:00
Matthew Flatt
ab7f9acee2 add for/set 2010-04-23 08:26:20 -06:00
Matthew Flatt
0fe701a837 add for/hasheqv for completeness 2010-04-23 08:19:21 -06:00
Matthew Flatt
909f43f9a2 work on racketing reference 2010-04-22 20:18:53 -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
Matthew Flatt
4bc155905a Perl-like handling of empty matches in regexp-match*, etc., though without Perl-like filtering of empty strings in the result of regexp-split (PR 10855) 2010-04-14 22:53:14 -04:00
Matthew Flatt
1c34ccec44 improve regexp support (PR 10855, halfway) 2010-04-14 18:40:08 -04:00
Matthew Flatt
536fcacc42 more module source versus module path adjustments, especially for contracts
svn: r18809
2010-04-13 17:12:51 +00:00
Matthew Flatt
ce2d286586 add current-module-declare-source, variable-reference->module-source, convert soe sues of module paths to module sources
svn: r18804
2010-04-13 02:48:40 +00:00
Matthew Flatt
b4aa4d4afb add define-values-for-export to scheme/unit; sort out different unit-signature 'struct' forms for mzlib vs. scheme vs. racket
svn: r18792
2010-04-12 13:54:40 +00:00
Matthew Flatt
bdb71498e3 module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
svn: r18788
2010-04-11 16:55:18 +00:00
Matthew Flatt
1a9b89f5ba more mutable pair clarifications
svn: r18780
2010-04-10 14:22:18 +00:00
Matthew Flatt
0f9cac182d improve docs to calrify that mutable pairs are not pairs
svn: r18779
2010-04-10 14:13:41 +00:00
Matthew Flatt
1621091fc1 add 'current-read-interaction' parameter
svn: r18769
2010-04-09 13:22:57 +00:00
Matthew Flatt
bebf513aa7 change 'configure-runtime to produce a list of module-spcifying vectors instead of a single vector
svn: r18763
2010-04-08 19:11:50 +00:00
Matthew Flatt
abebb1c1f4 fix problem with per-registry locking of available-module visit & instantiation
svn: r18744
2010-04-07 12:34:50 +00:00
Matthew Flatt
c5ac9f23ec better compiler handling of unused local bindings where the RHS either doesn't obviously produce a single value or is discovered to be unused late in bytecode compilation; initial Scribble support for printing qq-style results
svn: r18737
2010-04-06 15:52:36 +00:00
Matthew Flatt
fdba97b1c0 rico
svn: r18733
2010-04-04 15:08:35 +00:00
Matthew Flatt
3cc95b31ef add prop:struct-info
svn: r18730
2010-04-03 13:08:39 +00:00
Matthew Flatt
2cb9f378aa Racket experiments
svn: r18725
2010-04-02 21:29:59 +00:00
Matthew Flatt
b2d65a1b95 fix the interaction of chaperones, keywords, and the whole zoo of reflective procedure operations
svn: r18711
2010-04-01 13:14:50 +00:00
Eli Barzilay
853db0ae55 forgot examples
svn: r18709
2010-04-01 08:27:15 +00:00
Eli Barzilay
05fca5df14 Documented () thing
svn: r18706
2010-04-01 07:46:01 +00:00
Robby Findler
62fb1bed65 svn: r18682 2010-03-30 22:30:37 +00:00
Matthew Flatt
164e998cbd fix syntax-case docs on how the exception is raised
svn: r18679
2010-03-30 21:33:59 +00:00
Matthew Flatt
b8c3112b98 fix chaperones on parameters
svn: r18654
2010-03-28 15:56:04 +00:00
Matthew Flatt
73807aef24 chaperones (v4.2.5.3)
svn: r18650
2010-03-28 01:10:33 +00:00
Noel Welsh
7c55242179 Add the full suite of fl and unsafe-fl operations to Typed Scheme
Correct an error in documentation of flmin and flmax -- they were documented as taking a single argument when in fact they take two.

svn: r18604
2010-03-23 12:24:50 +00:00
Stevie Strickland
dde2011ec7 Add ->dm and case->m, which are the implicit method versions of ->d and
case->.

This should be included in the release.

svn: r18579
2010-03-18 21:28:41 +00:00
Carl Eastlund
d9b7609e1e Fixed splicing-syntax-parameterize to splice require and provide forms.
svn: r18551
2010-03-16 23:04:46 +00:00
Stevie Strickland
5a488ae7cb Add handling of by-name inits to commented-out class/c use in typed-scheme.
Also, fix class/c section of reference slightly by mentioning the role of
external contracts in class instantiation.

svn: r18542
2010-03-15 08:57:41 +00:00
Stevie Strickland
c7c8f7061e Add documentation, and also add tests for appropriate init-field behavior.
svn: r18541
2010-03-15 08:47:09 +00:00
Matthew Flatt
1af4bb9cfb fix problem with 'make-meta-reader' and passing a module path to the next reader in the chain
svn: r18511
2010-03-11 14:00:01 +00:00
Stevie Strickland
cd3499dea5 Initial cut at documentation.
svn: r18495
2010-03-09 23:22:35 +00: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
Matthew Flatt
82af25486e one more doc fix for PR 10803
svn: r18463
2010-03-04 13:16:46 +00:00
Eli Barzilay
28948c723a typos (most of PR10803)
svn: r18462
2010-03-04 09:08:14 +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
Sam Tobin-Hochstadt
83cdaac011 Allow `path-up' to take multiple paths.
svn: r18415
2010-03-01 21:27:03 +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
Robby Findler
eeb5a8df0a svn: r18404 2010-03-01 12:25:55 +00:00
Matthew Flatt
2d34378d46 add margin ref->guide cross-reference for futures
svn: r18402
2010-03-01 02:33:57 +00:00
Matthew Flatt
2ddfa89a7a add missing doc files
svn: r18401
2010-03-01 01:45:49 +00:00
Matthew Flatt
e71bd71035 enable futures by default on Mac OS X and Linux x86/x86_64; future docs to ref and guide
svn: r18396
2010-02-28 22:06:59 +00:00
Matthew Flatt
2caaf05ca6 doc addition and prose tweaks
svn: r18376
2010-02-27 03:40:15 +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
Stevie Strickland
4b67d441e7 Forgot to document set-field!, which came in with cc-phase2.
svn: r18358
2010-02-26 20:04:26 +00:00
Carl Eastlund
8b93f081bc Renamed make-set{,eq,eqv} to set{,eq,eqv} for uniformity with list, vector, etc.
svn: r18338
2010-02-25 19:46:36 +00:00
Jon Rafkind
2f6c2377f9 fix remq example
svn: r18337
2010-02-25 17:14:58 +00:00
Stevie Strickland
88a6038705 Grab Matthew's addition of objscheme_unwrap so I can see about making
object contracts work even for primitive things.

svn: r18298
2010-02-23 14:10:34 +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
Stevie Strickland
a0769da5ea Add the contract shorthands for -> and ->* to use for methods where we don't
care about properties of this.

svn: r18248
2010-02-21 02:54:06 +00:00
Stevie Strickland
e72928d444 Yeah, I should add augride here.
svn: r18242
2010-02-21 00:26:58 +00:00
Stevie Strickland
c6e671581f Want to call this something more generic, as method contracts have specific
restrictions, but contracts on fields do not.

svn: r18241
2010-02-21 00:22:37 +00:00
Stevie Strickland
ffa34e1f7d Add augride, which is like augment but enables the contract writer to give
subclasses an idea of whether a method can be augmented (augment) or whether
a method augmentation can be overridden (augride).

svn: r18240
2010-02-21 00:17:42 +00:00
Stevie Strickland
5df617e4d4 Forgot to add this to the literals list.
svn: r18239
2010-02-20 23:45:55 +00:00
Stevie Strickland
d67058c1ac Document inherit.
svn: r18238
2010-02-20 22:58:21 +00:00
Stevie Strickland
6ae1a713df One more small edit.
svn: r18231
2010-02-20 21:06:59 +00:00
Stevie Strickland
50482d7016 Small fixes, go back to the original section title.
svn: r18230
2010-02-20 21:06:22 +00:00
Stevie Strickland
7e5e4a50fa Check in an initial cut of class/c documentation.
svn: r18229
2010-02-20 20:32:17 +00:00
Robby Findler
ac2c537b8f clarified bitwise-bit-field and bitwise-bit-set?
svn: r18225
2010-02-20 15:20:27 +00:00
Matthew Flatt
eb46f95246 doc corrections
svn: r18224
2010-02-20 14:58:10 +00:00
Matthew Flatt
e38e8d88e0 basic set library
svn: r18222
2010-02-20 13:00:48 +00:00
Jay McCarthy
c2bfa60e31 Adding documentation for symbol-unreadable?
svn: r18133
2010-02-17 22:02:24 +00:00
Matthew Flatt
91d725fbb9 add optional initialization argument to make-hash (and variants)
svn: r18120
2010-02-17 17:44:29 +00:00
Matthew Flatt
6f0d6b28de some mz and ffi changes from the mr2 branch
svn: r18099
2010-02-16 17:55:28 +00:00
Jon Rafkind
21b98bb2fa add example for "with-syntax"
svn: r18038
2010-02-10 17:49:26 +00:00
Stevie Strickland
c1f7ba9042 Add ellipses to the compound-unit, compound-unit/infer grammars for the
import parts of link clauses.

svn: r18036
2010-02-10 16:15:45 +00:00
Robby Findler
8228482d86 fixed up the regexp-match contracts to make them more specific
svn: r18030
2010-02-09 16:03:03 +00:00
Jon Rafkind
e5fd8a904c document latest generator functionality
svn: r18022
2010-02-08 19:47:41 +00:00
Carl Eastlund
fe40d3e888 Merged changes from trunk.
svn: r18007
2010-02-06 19:23:24 +00:00
Carl Eastlund
17f83a5a54 Corrected contract of datum->syntax source locations.
svn: r17997
2010-02-05 20:49:10 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +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
d7a7409fe0 Merged changes from the trunk.
svn: r17954
2010-02-03 15:15:11 +00:00
Carl Eastlund
87712b0dd2 Clarified the recursive behavior of datum->syntax on hash tables and prefab structs.
svn: r17936
2010-02-02 01:33:39 +00:00
Matthew Flatt
5433c57504 wrap each top-level form in a module with a prompt
svn: r17917
2010-01-31 17:04:55 +00:00
Carl Eastlund
a2226c965a Updated documentation for "contract" form.
svn: r17910
2010-01-31 04:30:55 +00:00
Matthew Flatt
bcadf5ac69 doc improvements: some details on reachability for weak references; module example in insidemz; clarification for 'read-language' related to readtables and #reader
svn: r17905
2010-01-31 01:10:56 +00:00
John Clements
11c87c75e1 minor typo fix an/and
svn: r17866
2010-01-28 18:09:52 +00:00
Matthew Flatt
4ce8dfa7da fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4
svn: r17802
2010-01-24 15:30:16 +00:00
John Clements
1a9e2c8df1 ormap docs didn't say what it returned (earlier fix fluffed, IIUC)
svn: r17624
2010-01-13 01:20:48 +00:00
Jay McCarthy
c22810cef1 Fixing two typos found by pdedede
svn: r17615
2010-01-12 02:37:22 +00:00
Jon Rafkind
e9165f30fe document latest scheme/generator functions
svn: r17613
2010-01-11 22:22:51 +00:00
Matthew Flatt
349c15d478 replae module->compiled-module-expression with module->imports and module->exports
svn: r17588
2010-01-09 14:42:18 +00:00
Matthew Flatt
4fedeeaf7a add module->compiled-module-expression, which is used in Scribble's traversal of module paths to find documented bindings
svn: r17576
2010-01-08 19:53:04 +00:00
Matthew Flatt
dff26c2e22 doc fixes (PRs 9971, 10168)
svn: r17566
2010-01-08 14:14:16 +00:00
Matthew Flatt
41261c6047 fill out fl and fx operations; repair fixnum-overflow bug in quotient
svn: r17524
2010-01-07 03:30:33 +00:00
Robby Findler
68efb4008a normalized the results of procedure-arity
svn: r17504
2010-01-06 19:34:29 +00:00
Sam Tobin-Hochstadt
1cca4008f7 update match grammar
svn: r17482
2010-01-05 14:48:30 +00:00
Matthew Flatt
38d7e8fea2 built-in fixnum ops; bug fix related to misuse of flonum ops; questionable attempt to improve inlining algorithm
svn: r17461
2010-01-02 16:33:28 +00:00
Matthew Flatt
e68aabd67a change expand and local-expand to lift certificates
svn: r17439
2009-12-30 17:27:38 +00:00
Robby Findler
fb6daf8c0c added caveat about slowness
svn: r17394
2009-12-24 18:37:02 +00:00
Robby Findler
195d608fe5 added scheme/fixnum
svn: r17391
2009-12-23 15:41:40 +00:00
Stevie Strickland
fb85388288 Add this%, which is the class counterpart of the object reference "this".
svn: r17359
2009-12-19 20:56:40 +00:00
Matthew Flatt
0a1e4e6e83 fix an allocation in bytecode compiler; add flvector equality
svn: r17353
2009-12-18 21:53:02 +00:00
Matthew Flatt
fdd7122994 scheme/flonum (v4.2.3.8)
svn: r17348
2009-12-18 15:40:00 +00:00
Matthew Flatt
ff81d89c52 guarantee current-inexact-milliseconds as since Jan 1, 1970
svn: r17343
2009-12-17 20:47:40 +00:00
Mike Sperber
a3ae03861b Typo fixes.
svn: r17336
2009-12-17 14:52:13 +00:00
Mike Sperber
56c6ae78f7 Typo fix fix.
svn: r17335
2009-12-17 14:35:02 +00:00
Mike Sperber
6a1b831ab8 Typo fix.
svn: r17334
2009-12-17 14:34:01 +00:00
Matthew Flatt
45e84ca087 unboxing of let-bound flonums (v4.2.3.6)
svn: r17328
2009-12-16 13:30:40 +00:00
Mike Sperber
0c03246daa Fix xref.
svn: r17268
2009-12-11 16:50:58 +00:00
Sam Tobin-Hochstadt
c8c9bd0556 Add `in-bytes-lines'
svn: r17261
2009-12-10 17:01:53 +00:00
Eli Barzilay
eb95fbfda3 two more typos like the ones ryan fixed earlier
svn: r17219
2009-12-06 00:17:23 +00:00
Eli Barzilay
1b5ab0b46a several typos in the vectors docs (PR10642), also some in list docs
svn: r17218
2009-12-06 00:15:21 +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
Robby Findler
ada899f158 added more examples and tests for order-of-magnitude
svn: r17212
2009-12-05 20:38:38 +00:00
Matthew Flatt
aacffcc2bf fix docs on collection paths (PR 10641)
svn: r17186
2009-12-04 22:01:43 +00:00
Matthew Flatt
4eef1b3cee flvectors
svn: r17177
2009-12-03 16:42:32 +00:00
Eli Barzilay
3d9c4b0ac5 Added --addon'/-A', in addition to $PLTADDONDIR from revision 17121.
svn: r17136
2009-12-01 15:11:45 +00:00
Sam Tobin-Hochstadt
ca5f5656c0 document `file->list'
fix typos in contracts.

svn: r17134
2009-12-01 14:33:09 +00:00
Ryan Culpepper
d36297d176 reference: added spacing in sequence boilerplate macro
Please propagate to release branch if possible.

svn: r17129
2009-12-01 07:57:33 +00:00
Eli Barzilay
2fd3c23393 Undo this change. Like I said on the list, it is wrong to poll the
environment variable every time it is accessed (especially given that
there will be a command-line option for this).  I'll commit a proper
thing later tonight if I get to it.

svn: r17122
2009-12-01 02:16:19 +00:00
Carl Eastlund
b4a32ddc1c Merged changes from branches/cce/plt+addon-dir:
- Added PLTADDONDIR environment variable to control the location of
  generated files from Planet and Scribble, specifically by overriding
  the result of (find-system-path 'addon-dir).
- Updated documentation of find-system-path to report this change.

svn: r17121
2009-12-01 02:10:50 +00:00
Matthew Flatt
06288a8b7f procedure-rename special treatment of struct accessors & mutators
svn: r17093
2009-11-29 15:53:08 +00:00
Matthew Flatt
f03ab78c40 another syntax hack to fix 'scheme/package'; other test corrections
svn: r17075
2009-11-27 02:12:27 +00:00
Matthew Flatt
61dd4ca0b9 add unsafe-f64vector-{ref,set!} and improve JIT to inline arithmetic ops with more than 2 arguments
svn: r17068
2009-11-26 15:07:16 +00:00
Jon Rafkind
91d4240765 add some examples
svn: r17052
2009-11-24 23:14:18 +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
John Clements
89a388c6f7 added examples for expand
svn: r16847
2009-11-17 20:29:47 +00:00
Eli Barzilay
518a9d2df1 added path-up to scheme/require
svn: r16824
2009-11-17 08:11:44 +00:00
Sam Tobin-Hochstadt
0ae5843f11 Add unstable/match with == match expander.
Add 'match expander' tech def.

svn: r16814
2009-11-16 16:58:11 +00:00
Eli Barzilay
b1f5b0652c new kinds of promises
svn: r16807
2009-11-16 11:06:47 +00:00
Jon Rafkind
f0d5ba438c add more pair/list examples
svn: r16797
2009-11-16 04:46:49 +00:00
Jon Rafkind
860a36d499 add examples for all c-r shortcuts
svn: r16795
2009-11-16 04:04:58 +00:00
Jon Rafkind
c991ada1e7 add examples for pairs
svn: r16794
2009-11-16 02:40:45 +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
Matthew Flatt
c34d5f3776 revised docs for 'delay', which now accepts a body sequence instead of a single expression
svn: r16783
2009-11-15 14:25:49 +00:00
Jon Rafkind
2683cecd17 add some examples for for-meta'
svn: r16668
2009-11-10 21:22:05 +00:00
Matthew Flatt
a9345c4fe1 fix typo and explicitly close scheme/vector example evaluator
svn: r16650
2009-11-10 12:34:54 +00:00
Sam Tobin-Hochstadt
99a70b38d8 Move mutated-vars and poly-c libraries to unstable collection.
- add docs
 - change requires
 - fix `letrec-syntaxes+values'
Fix contract on `author+email'

svn: r16628
2009-11-09 02:29:02 +00:00
Matthew Flatt
7cce5c98a3 further clarify performance guarantee of immutable hash tables
svn: r16620
2009-11-08 19:06:57 +00:00
Robby Findler
667e967085 added order-of-magnitude from Jos Koot and some tests for other scheme/math stuff
svn: r16607
2009-11-07 14:26:39 +00:00
Sam Tobin-Hochstadt
dcb5f5cfb1 Types for all functions documented in reference/vector.scrbl
Fix docs for vector-arg{min,max}.

svn: r16602
2009-11-07 07:11:00 +00:00
Eli Barzilay
69e90b7ef3 #:key argument to remove-duplicates
svn: r16587
2009-11-06 22:32:53 +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
eedffbca23 minor tweak to an example
svn: r16543
2009-11-04 17:22:48 +00:00
Mike Sperber
a2de64c9ba Doc typo fix.
svn: r16516
2009-11-03 10:38:22 +00:00
Sam Tobin-Hochstadt
149e695a55 New `scheme/vector' library.
svn: r16511
2009-11-03 04:16:48 +00:00
Matthew Flatt
70560372b7 unsafe-{string,bytes}-{ref,set,length}
svn: r16490
2009-10-31 02:19:57 +00:00
Matthew Flatt
973d51c20f change 'read-language' protocol so that the result from 'get-info' accepts a key plus default value (instead of just a key)
svn: r16459
2009-10-29 23:05:56 +00:00
Sam Tobin-Hochstadt
653d0ccd66 Add in-port', port->list', `file->list'.
Add documentation, tests for above.
Allow procedure argument to `fold-files' to return 2 values in all cases.
Document, test.

svn: r16453
2009-10-29 18:49:34 +00:00
Matthew Flatt
06ce50d51a fix contract of 'read-language'
svn: r16446
2009-10-28 18:58:59 +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
Danny Yoo
6f4b44916b fixing typo.
svn: r16440
2009-10-27 17:10:14 +00:00
Stevie Strickland
dbf380208a read-line -> read-line-evt
svn: r16384
2009-10-20 17:37:19 +00:00
Kevin Tew
ac7853dc00 Allow binding to ephemeral ports
svn: r16382
2009-10-20 17:00:20 +00:00
Jon Rafkind
56cb585e7d add examples to the class documentation
svn: r16378
2009-10-20 01:10:45 +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
Jon Rafkind
04386a7839 add some examples for byte strings
svn: r16343
2009-10-16 19:41:40 +00:00
Eli Barzilay
e1d2fdb3d6 typo
svn: r16325
2009-10-15 15:02:07 +00:00
Jay McCarthy
a9a9274ff8 Fixing a typo
svn: r16306
2009-10-13 16:00:15 +00:00
Matthias Felleisen
1d78134f11 fixed 2 typos in syntax
svn: r16294
2009-10-10 18:10:43 +00:00
Matthew Flatt
d39cbf9c57 add some cross-references to sequence defns
svn: r16280
2009-10-08 12:25:24 +00:00
Matthew Flatt
75dc35602c fix and improve docs on hash-map and hash-for-each
svn: r16279
2009-10-08 12:06:50 +00:00
Matthew Flatt
f1a3eaaf6d more updates to 'do' docs (continuing from PR 10508)
svn: r16246
2009-10-05 18:01:17 +00:00
Eli Barzilay
a71b7ab998 typo (PR10508)
svn: r16245
2009-10-05 17:36:29 +00:00
Matthew Flatt
f6d34ab964 add unsafe-flabs and unsafe-fxabs (4.2.2.4)
svn: r16234
2009-10-04 03:25:56 +00:00
Matthew Flatt
01d15eb9b6 add unsafe-fx->fl; avoid some gcc warnings
svn: r16221
2009-10-02 19:45:41 +00:00
Matthew Flatt
954e850e20 fix reference (restoring some text that was lost in the reference-manual rewrite) to describe the problem with macro-introduced bindings and the top level
svn: r16205
2009-10-01 21:14:21 +00:00
Eli Barzilay
6a8c35d429 typo in DFlag
svn: r16181
2009-09-30 03:58:59 +00:00
Eli Barzilay
ac39ffe739 undo revision 16179, which had some junk included by mistake
svn: r16180
2009-09-30 03:57:08 +00:00
Eli Barzilay
38388b1d34 typo in DFlag
svn: r16179
2009-09-30 03:55:22 +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
Sam Tobin-Hochstadt
f64fe4a2e2 Fix bug in reader examples for keywords. Push to 4.2.2.
svn: r16066
2009-09-19 00:00:21 +00:00
Eli Barzilay
5e1def3615 argument name typo
svn: r16060
2009-09-18 05:47:20 +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
Matthew Flatt
ffe5097042 fix documented contract on current-load-relative-directory
svn: r16037
2009-09-17 12:47:51 +00:00
Robby Findler
b5fe3916ec fixed a typo
svn: r16033
2009-09-17 10:20:17 +00:00
Jon Rafkind
f48b567901 add better example for define-for-syntax
svn: r16025
2009-09-16 19:03:55 +00:00
Matthew Flatt
e447bc743f doc typo and style corrections
svn: r16020
2009-09-16 00:59:44 +00:00
Jon Rafkind
aef4f3905c add prompt/control examples
svn: r16016
2009-09-15 01:18:33 +00:00
Jon Rafkind
f6b9265f77 add some examples for the control operators
svn: r16013
2009-09-14 21:42:59 +00:00
Jon Rafkind
9f10bc960b typo
svn: r16011
2009-09-14 21:13:22 +00:00
Matthew Flatt
30c0dcf045 dynamic-require and 0 mode; repair to unsafe-fl ops; x86_64 for Mac OS X
svn: r15985
2009-09-11 23:05:50 +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
Matthew Flatt
3ebbd56865 fix cm problem tracking reader dependencies; add 'reader' reader language
svn: r15907
2009-09-08 00:07:11 +00:00
Matthew Flatt
d92ac1c2fd fix docs for syntax-local-name, syntax-local-infer-name, and 'inferred-name
svn: r15904
2009-09-07 21:02:03 +00:00
Matthew Flatt
a65ad71fad clarification on closing pipe ports
svn: r15903
2009-09-07 20:49:35 +00:00
Matthew Flatt
8ae0ea9d14 unsafe ops (v4.2.1.8)
svn: r15899
2009-09-06 18:24:46 +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
Jon Rafkind
e6b536edba remove tabs
svn: r15859
2009-09-02 16:59:26 +00:00
Jon Rafkind
9bbbec05b3 add examples for booleans
svn: r15851
2009-09-01 16:31:08 +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
Jon Rafkind
19de92f5fd document generator forms
svn: r15833
2009-08-30 02:43:35 +00:00
Ryan Culpepper
927a4b45cb fixed typo, added line breaks
svn: r15829
2009-08-29 22:59:33 +00:00
Eli Barzilay
cb78ec3bf6 a bunch of typos
svn: r15823
2009-08-28 04:06:14 +00:00
Eli Barzilay
ec9fc2571a Added `in-producer'.
(Note that `test-generator' tests use quasiquote for the expected result).

svn: r15811
2009-08-27 09:15:52 +00:00
Jon Rafkind
49e57413bf scribble: fix typo
svn: r15801
2009-08-26 16:08:33 +00:00
Matthew Flatt
8da19de7b2 improve readable-snip<%> and related docs
svn: r15784
2009-08-19 20:51:23 +00:00
John Clements
97196f5c26 no description of 'lst' argument
svn: r15746
2009-08-15 20:41:55 +00:00
Matthew Flatt
f37c71c6ee setup-plt -D skips compilation of .scrbl files
svn: r15727
2009-08-13 16:24:33 +00:00
Matthew Flatt
5207a215af add missing core form to kernel-form-identifier-list, improve docs
svn: r15702
2009-08-11 19:48:05 +00:00
Matthew Flatt
2414f4f880 print-syntax-width (4.2.1.6)
svn: r15696
2009-08-10 22:01:57 +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
Matthew Flatt
324743b1c0 refine regexp-split contract
svn: r15625
2009-07-29 19:18:57 +00:00
Matthew Flatt
a47d94f75f add file-or-directory-identity (4.1.2.5)
svn: r15623
2009-07-29 17:39:03 +00:00
Eli Barzilay
2425917a33 typo (PR10362 and PR10363)
svn: r15604
2009-07-28 17:05:47 +00:00
Noel Welsh
2ad22dd716 Fix incorrect documentation of -p command line option.
The documentation for command line arguments to MzScheme says:

-p <file> <u> <path> : requires (planet "<file>" "<user>" "<pkg>")
http://docs.plt-scheme.org/reference/running-sa.html#(part._mz-cmdline)

Running mzscheme --help says:

 -p <package> : Like -e '(require (planet "<package>")'

Experiments confirm the executable is correct and the docs are wrong.

svn: r15597
2009-07-28 14:24:19 +00:00
Eli Barzilay
f30688bd52 typo in the doc for matching-identifiers-out
svn: r15585
2009-07-27 15:47:16 +00:00
Matthew Flatt
1b21c14fd4 fix doc bug; could merge to 4.1.2
svn: r15584
2009-07-27 14:24:37 +00:00
Matthew Flatt
229e2636de change scribble 'variant' to 'property'; add contracts in scribble/decode
svn: r15581
2009-07-27 03:55:43 +00:00
Matthew Flatt
345c17e85c major Scribble revision (v4.2.1.2)
svn: r15569
2009-07-25 20:25:33 +00:00
Matthew Flatt
a8473f08ff fix min & max contracts
svn: r15533
2009-07-22 15:47:44 +00:00
Matthew Flatt
a68e353b99 change to automatic reaping of zombie processes started by 'subprocess'
svn: r15520
2009-07-21 16:23:05 +00:00
Matthew Flatt
70566bd740 change 'PLT Scheme' authors to 'PLT'; merge to 4.2.1
svn: r15515
2009-07-21 12:00:28 +00:00
Robby Findler
269a9ba98d svn: r15511 2009-07-20 22:48:57 +00:00
Matthew Flatt
3974942e9b fix code that doesn't fit in a line for Latex/PDF output
svn: r15504
2009-07-20 19:38:59 +00:00
Robby Findler
5adb4eb004 changed the meaning of one of the pretty-print parameters slightly and used that to fix redex's stepper
svn: r15419
2009-07-09 15:55:11 +00:00
Matthew Flatt
ab1db74ecc more keyword-argument performance improvements, including general fast path for applying simple applicable-struct wrappers over plain procedures
svn: r15403
2009-07-08 13:57:16 +00:00
Jon Rafkind
58424ecdcc add example for local-expand
svn: r15347
2009-06-30 21:37:52 +00:00
Matthew Flatt
e62f3bba13 doc custodian use of tcp-accept-evt
svn: r15336
2009-06-30 13:14:40 +00:00
Jon Rafkind
5b794816c1 add example for async channels
svn: r15330
2009-06-30 01:57:14 +00:00
John Clements
edb16e4f4a fixed two grammatical typos
svn: r15302
2009-06-26 18:26:40 +00:00
Eli Barzilay
93e2aa5e82 typo
svn: r15296
2009-06-26 01:28:14 +00:00
Jon Rafkind
4cc0ea60f6 add examples for file ports
svn: r15262
2009-06-25 00:14:13 +00:00
Jay McCarthy
3141c3736f Adding struct* to scheme/match
svn: r15255
2009-06-24 19:36:26 +00:00
Matthew Flatt
7f019819e0 allow empty splicing-syntax-parameterize body in a defn context (PR 10311)
svn: r15251
2009-06-24 13:17:17 +00:00
Matthew Flatt
36f3ed4465 expose and support unreadable symbols, which are generated during expansion
svn: r15239
2009-06-23 00:17:45 +00:00
Robby Findler
ec44ee7df1 added hash/c
svn: r15210
2009-06-18 21:31:33 +00:00
Eli Barzilay
6818dba0c6 typo
svn: r15183
2009-06-16 01:14:35 +00:00
Matthew Flatt
189b3811db fix docs on eqv?, 0.0, and -0.0
svn: r15160
2009-06-13 01:00:59 +00:00
Matthew Flatt
3ce6cbb737 safe-for-space fixes for the interepreter; syntax-local-lift-provide
svn: r15154
2009-06-12 17:46:25 +00:00
Eli Barzilay
3910aeca50 typos, mostly redundant "then"s
svn: r15143
2009-06-11 08:12:18 +00:00
Eli Barzilay
3ec17454cf indentation
svn: r15138
2009-06-11 02:20:03 +00:00
Carl Eastlund
44505e77e3 Propagated contract documentation change for regexp-match from bug 10301 to related functions.
svn: r15136
2009-06-10 23:05:45 +00:00
Eli Barzilay
33da679c31 better output contract for regexp-match
svn: r15135
2009-06-10 22:33:06 +00:00
Eli Barzilay
4288c6c2c7 The Scribble reader was improved to make it pull out the syntax
punctuations outside of the form, as it does with quote punctuations.
So things like this

  #, @foo{...}

that required the space to make the @foo read as a scribble form are
now better written as

  @#,foo{...}

This changes all such occurrences.  (In case you see this change in
your files and are worried that there might be changes: I mechanically
verified that the result of `read'ing the modified files is identical
to the previous version.)

svn: r15111
2009-06-07 10:12:32 +00:00
Matthew Flatt
933f578002 syntax-local-lift-values-expression (v4.2.0.3)
svn: r15107
2009-06-06 15:13:43 +00:00
Carl Eastlund
3679f6f675 Typo in reader documentation: #, listed twice instead of #' and #,
svn: r15082
2009-06-04 19:55:30 +00:00
Jay McCarthy
55a2990543 Fixing a typo in runtime-path documentation
svn: r14997
2009-05-27 11:17:05 +00:00
Eli Barzilay
90040aac2b another typo from PR10258 (less than or equal to the string length)
svn: r14976
2009-05-25 02:56:24 +00:00
Eli Barzilay
1246aeb786 typo (PR10258)
svn: r14975
2009-05-25 01:03:41 +00:00
Eli Barzilay
2b7e836243 fix typo in examples
svn: r14952
2009-05-23 07:35:39 +00:00
Eli Barzilay
0b5a8d8123 typo
svn: r14951
2009-05-23 07:09:54 +00:00
Matthew Flatt
70859f0d0b identifier-prune-lexical-context (4.2.0.2)
svn: r14850
2009-05-17 12:31:51 +00:00
Matthew Flatt
05113c4a8f doc typos and guarantee on thread-dead-evt result
svn: r14825
2009-05-15 08:53:05 +00:00
Matthew Flatt
99c19a552c fix doc typo
svn: r14761
2009-05-09 13:37:04 +00:00
Eli Barzilay
7ad3d7b4a6 typos
svn: r14746
2009-05-08 11:12:55 +00:00
Matthew Flatt
57d518dc8c doc typo
svn: r14705
2009-05-04 02:19:27 +00:00
Matthew Flatt
2b4a0692eb doc repairs (PR 10225)
svn: r14703
2009-05-04 01:38:54 +00:00
Matthew Flatt
16e483033c fix define after define* in package; doc repairs
svn: r14701
2009-05-03 23:49:22 +00:00
Eli Barzilay
a1d943146b added a nullary case to compose
svn: r14697
2009-05-03 20:41:37 +00:00
Matthew Flatt
a1b65fb055 doc corrections
svn: r14696
2009-05-03 19:33:10 +00:00
Eli Barzilay
3ca6ac2175 added stupid make-list and stupid const
svn: r14693
2009-05-03 16:17:48 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Matthew Flatt
ae36abfc37 doc corrections
svn: r14677
2009-05-01 17:03:53 +00:00
Matthew Flatt
2b8b10dd40 fix problem with package, define*, and macro-introduced identifiers
svn: r14671
2009-04-30 23:57:45 +00:00
Matthew Flatt
d5b5c8fb97 refine note on immutable hash table performance
svn: r14664
2009-04-29 21:55:16 +00:00
Matthew Flatt
224f9fa3a7 fix bug in tracking paren shapes; fix Scribble binding search code; add syntax/template library
svn: r14661
2009-04-29 20:31:07 +00:00
John Clements
ce0a98dc61 added 2 indexed terms
svn: r14657
2009-04-29 18:20:37 +00:00
Eli Barzilay
610b5c7388 typo
svn: r14616
2009-04-26 20:04:42 +00:00
Matthew Flatt
a542660087 raise canvas scroll limits to 1B instead of 10k
svn: r14605
2009-04-24 21:54:28 +00:00
Jon Rafkind
4bc8e35d39 add example for subtract-in
svn: r14599
2009-04-24 21:22:24 +00:00
Jon Rafkind
7924ec7ca2 add example for matching-identifiers-in
svn: r14591
2009-04-24 05:08:51 +00:00
Matthew Flatt
3f803b2298 another doc fix (missed part of PR 10214)
svn: r14586
2009-04-22 18:32:09 +00:00
Matthew Flatt
43fe904fe5 fix typos (incl PRs 10213, 10214)
svn: r14585
2009-04-22 18:30:35 +00:00
Matthew Flatt
f51f8c8b7f avoid generating unnecessary struct-accessor and -mutator names
svn: r14566
2009-04-20 13:14:40 +00:00
Matthew Flatt
4b3626c156 fix inverted argument default for editor<%> read-from-file method; better Check Sytax results on packages; added syntax/flatten-begin library
svn: r14548
2009-04-17 22:50:19 +00:00
Eli Barzilay
59a38c0dad typo (PR10207)
svn: r14546
2009-04-17 19:15:20 +00:00
Matthew Flatt
e95edcc82d margin note on Unix Scripts at docs for --script flag
svn: r14542
2009-04-17 12:43:37 +00:00
Matthew Flatt
12b81e0cd7 clarify need to wait on a subprocess
svn: r14468
2009-04-08 18:38:59 +00:00
Eli Barzilay
dda7b1c6d7 typo (PR10186)
svn: r14457
2009-04-08 05:52:12 +00:00
Matthew Flatt
dcef141ca9 document visit-availing effect of module->namespace
svn: r14456
2009-04-08 02:26:46 +00:00
Matthew Flatt
fd9ee204a5 on third thought, it's module->namespace that needs to prepare the compile time, not dynamic-require, and that's why it worked before; restored the visit-availing behavior of module->namespace, and rewound the previous change (still for PR 10185)
svn: r14455
2009-04-08 02:21:22 +00:00
Matthew Flatt
8c9bcd50c2 on second thought, PR 10185 demonstrates why the variant of dynamic-require (and namespace-attach-module) that doesn't make the phase availble is difficult to reason about; changing dynamic-require and namespace-attach-module, instead of DrScheme
svn: r14454
2009-04-08 02:11:21 +00:00
Matthew Flatt
1d26e97a35 Scheme-implemented editor classes; on-demand instantiation of module phases
svn: r14445
2009-04-07 17:12:22 +00:00
Eli Barzilay
e6277e92ac foldl/foldr output type typo
svn: r14432
2009-04-06 05:49:57 +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
Eli Barzilay
06636c1813 added in-sequences and in-cycle
svn: r14424
2009-04-05 08:29:17 +00:00
Eli Barzilay
9af9210aa2 added hash-ref! and hash-has-key?
svn: r14423
2009-04-05 04:35:12 +00:00
Stevie Strickland
99aac7d745 Sam and I did some work to allow automatic inferred linking in
(define-values/)invoke-unit/infer.

svn: r14315
2009-03-27 13:47:12 +00:00
Matthew Flatt
34c14d27f5 typo
svn: r14288
2009-03-26 12:00:13 +00:00
John Clements
76358d66e7 added note on permissions failure in find-files
svn: r14282
2009-03-25 22:27:26 +00:00
Sam Tobin-Hochstadt
e0a95e9e22 Add `tanh' with documentation.
svn: r14250
2009-03-24 17:48:11 +00:00
Matthew Flatt
31e1057128 aother refinement to note on require sub-form expansion
svn: r14239
2009-03-23 16:38:21 +00:00
Matthew Flatt
f3a5008176 typo
svn: r14238
2009-03-23 16:32:02 +00:00
Matthew Flatt
59988f5ca5 refine examples for require & provide
svn: r14237
2009-03-23 16:30:29 +00:00
Sam Tobin-Hochstadt
40b4731106 Expand (require A ...) into (begin (require A) ...)
- docs (including discussion of require scoping)
- tests

svn: r14232
2009-03-23 14:13:10 +00:00
Matthew Flatt
5d3d5a890a record per-thread milliseconds
svn: r14224
2009-03-23 01:26:51 +00:00
Matthew Flatt
5514afa4bc notes on the hazards of sandbox break propagation
svn: r14220
2009-03-22 16:42:03 +00:00
Eli Barzilay
18fd48af97 Added `count'.
svn: r14210
2009-03-22 02:53:27 +00:00
Matthew Flatt
7dc8e077ed add 'not-provide-all-defined and 'nonimal-id suport for rename transformers; fix scheme/foreign and foreign docs to use it
svn: r14195
2009-03-20 16:59:28 +00:00
Matthew Flatt
2109cec2f4 free-id=? propagation through module exports; add 'not-free-identifier=? syntax property to disable free-id=? propagation; add prop:rename-transformer and prop:set-transformer; fix scheme/local so that local syntax bindings are visible to later definitions (v4.1.5.3)
svn: r14191
2009-03-19 20:22:18 +00:00
Ryan Culpepper
04e2fb9118 scheme/splicing: updated reference for new splicing forms
svn: r14189
2009-03-19 19:02:28 +00:00
Matthew Flatt
e8cbe7ff81 splicing-let, etc.
svn: r14165
2009-03-17 23:09:38 +00:00
Matthew Flatt
9335e3cf28 doc updates for v4.1.5.2
svn: r14161
2009-03-17 21:06:42 +00:00
Carl Eastlund
2068a5dcc3 Corrected a typo in the contracts reference ('exmaple' -> 'example').
svn: r14151
2009-03-17 15:36:36 +00:00
Matthew Flatt
499464527e reference repairs (PRs 9978, 9704, 9820)
svn: r14125
2009-03-16 13:08:23 +00:00
Jon Rafkind
838b3dff2a link to file-position from the 'update flag
svn: r14102
2009-03-14 23:59:09 +00:00
Sam Tobin-Hochstadt
0182868947 Fix docs on exception raised.
svn: r14043
2009-03-10 23:56:07 +00:00
Matthew Flatt
44e7744646 fix package so that syntax-local-value works after define*
svn: r14021
2009-03-09 13:24:34 +00:00
Eli Barzilay
1b5e4ffa87 typo
svn: r14000
2009-03-07 00:46:28 +00:00
Matthew Flatt
4d4d2f54e2 fix references docs: buffer-mode argument to make-output-port is optional
svn: r13995
2009-03-06 22:23:49 +00:00
Robby Findler
976ec00702 fixed docs
svn: r13937
2009-03-04 02:17:26 +00:00
Jon Rafkind
11923c3567 add another example with require inside eval for protect-out
svn: r13908
2009-03-03 02:51:32 +00:00
Jon Rafkind
bc3e541cf6 example for protect-out
svn: r13907
2009-03-03 02:44:59 +00:00
Matthew Flatt
ff0b532864 adjust syntax/loc and some docs
svn: r13899
2009-03-02 22:24:25 +00:00
Stevie Strickland
cf005e3297 Adding unit/s and define-unit/s, which is the inferred version of
unit-new-import-export etc.

svn: r13860
2009-02-26 22:52:08 +00:00
Matthew Flatt
90bc1d816d fix some Scribble rendering issues with tables containing flows abd cell styles; extend Slideshow play to handle more optional arguments; fix some docs
svn: r13843
2009-02-25 21:14:22 +00:00
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