Commit Graph

1766 Commits

Author SHA1 Message Date
Matthew Flatt
8679afed60 clean up C part of build
- no more attempt to support places with the Boehm GC
 - no more libatomic (which was for places + Boehm GC)
 - remove unsupported configuration options
 - strip Racket-specific configure options before libffi configure
 - port two leftover Perl scripts to Racket scripts
2011-04-26 17:14:55 -06:00
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
Ryan Culpepper
8ad54552a1 fix references in eopl docs to assq, etc 2011-04-24 20:41:34 -06:00
Matthew Flatt
2f8006aa6b add an optional argument to `assoc'
and implement `assoc', `assq', and `assv' in Racket
2011-04-24 07:55:33 -06:00
Matthew Flatt
b1ac25023d allow additional arguments to `raise-mismatch-error'
because it's often useful to show more values, and a
 tail `raise-mismatch-error' instead of a nested `format'
 can avoid some safe-for-space work in the JIT output
2011-04-24 07:55:33 -06:00
Matthew Flatt
499800d96e fix typos 2011-04-20 14:25:53 -06:00
Matthew Flatt
18e3f54fa5 doc corrections
Closes PR 11865
 Merge to 5.1.1
2011-04-19 07:24:37 -06:00
Matthew Flatt
6664e20815 fix typo
Closes PR 11864
 Merge to 5.1.1
2011-04-19 07:24:22 -06:00
Matthew Flatt
963a8214b8 fix typo
Closes PR 11862
 Merge to 5.1.1
2011-04-18 15:47:52 -06:00
Matthew Flatt
e0d26d88b6 support exact nonnegative integers as sequences 2011-04-18 14:55:02 -06:00
Matthew Flatt
82c5cd95aa fix typo 2011-04-18 06:34:50 -06:00
Matthew Flatt
2a5fe45c7a add `namespace-attach-module-declaration'
which creates a little more sharing than the automatic
 caching of modules, but only for a program that explicitly
 attaches module declarations to share
2011-04-16 13:25:57 -06: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
Matthew Flatt
f1d0811249 fix typo 2011-04-15 07:32:45 -06:00
Matthew Flatt
e747937ceb clarify mark interactions for `syntax-local-lift-require'
Closes PR 11850
2011-04-14 08:03:21 -06:00
Matthew Flatt
aed25d9097 better docs and xref on `provide' and rename transformers
Closes PR 11851
2011-04-14 07:47:40 -06:00
Ryan Culpepper
459cce23be moved contents of unstable/set to racket/set 2011-04-12 09:35:26 -06: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
Matthew Flatt
857003378a futures: more bug fixes, make `touch' safe
- bug fixes are related to allocation and runstack space
 - a `touch' within a future can complete before the `touch'ing
   future is itself `touch'ed
 - also make `length' safe (and JIT-inlined)
2011-04-09 17:12:24 -06:00
Ryan Culpepper
f49412add8 moved unstable/poly-c to racket/contract/parametric 2011-04-08 08:25:22 -06:00
Ryan Culpepper
86f65468d7 removed define-pattern-variable 2011-04-07 09:47:20 -06:00
Ryan Culpepper
73ab167522 created racket/syntax from parts of unstable/syntax 2011-04-07 09:47:20 -06:00
Eli Barzilay
000e52d31d Minor but potentially confusing typo 2011-04-07 10:52:15 -04:00
Matthew Flatt
3bf0f800a7 futures: make `future' work in a future, overhaul logging, fix bugs 2011-04-06 17:40:44 -06:00
Stevie Strickland
6494bf863e Changing absent so that fields may be specified as well as methods. 2011-04-05 15:03:46 -04:00
Stevie Strickland
eafacc78a0 Adding `absent' to class contracts.
The `absent' clause lists public methods which must _not_ exist in the
contracted class.
2011-04-04 19:38:27 -04:00
Kevin Tew
26d7768d3d Rename place-channel-recv place-channel-receive 2011-03-31 13:36:40 -06:00
Eli Barzilay
bad4a40741 Fix `regexp-quote' description.
Closes PR11818.
2011-03-31 06:16:53 -04:00
Matthew Flatt
60dc3a5773 fix typo 2011-03-28 15:26:25 -06:00
Matthew Flatt
789081e2c3 fix xref 2011-03-28 10:43:25 -06:00
Matthew Flatt
5844b56a10 doc typos 2011-03-28 06:45:06 -06:00
Matthew Flatt
84d8bb3726 racket/sequence repairs
including addition of `sequence-generate*'
2011-03-27 10:02:11 -06:00
Robby Findler
4e81299e98 added examples to struct-copy docs 2011-03-25 11:04:17 -05:00
Robby Findler
614ec41ab7 extended struct-copy so that you copy adjust fields from super structs 2011-03-25 08:47:27 -06:00
Matthew Flatt
e652546bf5 add streams to `racket'
- rename old `racket/stream' to `racket/sequence', and adjust
   to avoid stateful iterations
 - add a new `racket/stream' library with a `strean-cons' that is based
   on SRFI 41
 - adjust `for' and some sequence constructors like `in-range' to
   work more directly with streams
2011-03-18 19:05:23 -06:00
Vincent St-Amour
e9789c6697 Fix the 2-argument case of atan to conform to the documentation and
fix the documentation.
2011-03-17 13:10:19 -04:00
Matthew Flatt
ad8e959a98 tweak performance of `for' with non-inlined sequences 2011-03-16 17:02:53 -06:00
Matthew Flatt
0efcf22ed4 racket/generator: clean-ups, including planned generalization
- syntax is now (generator formals body ...+)
 - add `generator?'
 - remove common run-time code from the `generator' macro expansion
 - doc fixes
 - start test suite
2011-03-15 20:14:01 -06:00
Matthew Flatt
b9c4bbae67 futures: limit parallelism via custodians
Closes PR 11682
2011-03-15 14:43:18 -06:00
Matthew Flatt
17a1322fe5 match': document var' pattern 2011-03-15 12:25:53 -06:00
Matthew Flatt
cf69cb2aff special treatment of void as 'inferred-name property
allows keyword-based application to hide temporary
 names that happen to be bound to procedure arguments
2011-03-13 09:02:39 -06:00
Matthew Flatt
1a6dacc4c5 clarify `path-element->string' docs 2011-03-13 09:02:39 -06:00
Eli Barzilay
a18197ff25 Add a warning about the current state of racket/stream. 2011-03-11 06:47:36 -05:00
Matthew Flatt
a5a7076fe0 `file-or-directory-permissions': expose more info, add write mode
and add `user-read-bit', etc., to `racket/file'
2011-03-11 02:50:06 -06:00
Matthew Flatt
0b496d5275 a round of doc corrections from Gwyth 2011-03-10 06:34:33 -06:00
Kevin Tew
3fa033e27b doc typo fix 2011-02-28 16:03:05 -07: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
Matthew Flatt
b4056373be generalizations to `subprocess' & company
- allow byte strings in more places
  - allow stderr spec to be 'stdout to redirect stderr to stdout
 Closes PR 11711
2011-02-19 08:30:34 -07:00
Matthew Flatt
9325fe0f25 fix `peek-string-evt' and related docs
Closes PR 11748
2011-02-19 06:54:35 -07:00
Matthew Flatt
6041833ac5 fsemaphore cleanup
- abstract over JIT inlining of fsemaphore operations
 - fix problems with non-parallel fsemaphores
 - adjust tests so they don't assume too much concurrency
 - clarify fsemaphore vs. semaphore in the docs
2011-02-18 09:55:01 -07:00
Eli Barzilay
8886b87876 Reformat this mess. 2011-02-16 15:26:15 -05:00
James Swaine
f9c12f9e58 Merge branch 'master' of pltgit:plt 2011-02-14 14:02:47 -06:00
Matthew Flatt
0840430b21 clean up `define-syntax-rules'
by removing a redundant expression in an error message, adding
 tests, and documenting the fact that a syntax-error message can
 expose the pattern source to users
2011-02-11 09:59:42 -07:00
James Swaine
22d6ad7d03 Merge branch 'master' of pltgit:plt 2011-02-10 14:38:50 -06:00
Robby Findler
9f18589c4f Rackety 2011-02-09 15:20:15 -06:00
Robby Findler
16d96cf91e minor improvements to peeking-input-port docs
- added guarantee about file-position
  - add some examples that clarify a confusion I had
2011-02-09 15:19:36 -06:00
James Swaine
19dbee0405 Added semaphores for futures 2011-02-08 17:58:02 -06:00
James Swaine
0a73a9d5a1 Added semaphores for futures 2011-02-08 17:55:12 -06:00
Matthias Felleisen
9b5ca46da5 minor citation fix 2011-02-08 12:15:37 -05:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Kevin Tew
2b045b991e bytes-join 2011-02-02 10:37:57 -07:00
Matthew Flatt
aed0980f1b doc clarifications on numbers 2011-02-01 08:01:17 -07:00
Matthew Flatt
dfa36afa89 change `floating-point-bytes->real' to always produce a flonum 2011-01-31 19:52:50 -07:00
Matthew Flatt
3ef32d915b make inexacts `eqv?' only when precision is the same
plus some other small fixes
2011-01-31 19:16:33 -07:00
Vincent St-Amour
e65b206e6e Add functions to convert back and forth between floating-point representations. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
03ec1ec501 Add a single-flonum? predicate to test for single-precision floats. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
ac76d963b0 Enable single-precision floats by default. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
d220e0a10b Add read syntax for single-precision float specials. 2011-01-31 16:39:16 -05:00
Matthew Flatt
bc5ab1e031 fix problems with `read-language' error reporting 2011-01-30 07:47:46 -06:00
Jon Rafkind
7ff1cdde81 use the currently documented function. closes pr11668 2011-01-25 21:25:36 -07:00
Matthew Flatt
b5bc288f67 Windows: fix `path-list-string->path-list' to throw away quotes
--- which seems to be what the command shell does with quotes in
 PATH, at least; Microsoft isn't in the habit of documenting this
 sort of thing
2011-01-25 20:30:33 -07:00
Matthew Flatt
88218036cc doc clarifications about line counting in ports 2011-01-25 20:01:30 -07:00
Stevie Strickland
a04b8d9899 Change instanceof/c to allow more contracts.
Now instanceof/c no longer checks explicitly for a class/c contract, so
or/c or and/c of class/c contracts succeed.
2011-01-25 14:07:30 -05:00
Matthew Flatt
069a7c2b48 add current-get-interaction-input-port' and adjust racket/gui'
so that GUI events are dispatched while a REPL is blocked on input
2011-01-24 19:47:20 -07:00
Matthew Flatt
ce2d6030c7 add filter-read-input-port' to racket/port' 2011-01-24 19:47:20 -07:00
Matthew Flatt
28351c1795 fix typo 2011-01-24 19:47:20 -07:00
Matthew Flatt
f36db863bb refine `char-graphic?' to include all chars in L and N categories
Closes PR 11664
2011-01-24 07:08:11 -07:00
Matthew Flatt
0c193a599a fix uncaught-exception-handler handling of non-escaping escape handler
and change the emergency error display handler to log and error
 Closes PR 11630
2011-01-20 14:01:33 -07:00
Kevin Tew
bc580ac125 call-with-file-lock/timeout 2011-01-20 13:33:02 -07:00
Robby Findler
939f41670d docs typos 2011-01-20 14:06:00 -06:00
Matthew Flatt
339ce9c594 clarification on #:timeout-lock-there' arg of get-preference' 2011-01-18 19:52:04 -07:00
Matthew Flatt
98822cf1f9 adjust `racket/gui' and dependencies to survive a locked preference file
- adds a `#:timeout-lock-there' argument to `get-preference'
 - fixes preference looup in `racket/gui'
 - make preference names consistently use `GRacket' and consistently
   fall back on `MrEd' names
 - fix Emacs-style undo mode while we're at it
2011-01-18 17:37:33 -07:00
Jon Rafkind
4130c44cf6 note that an error is about to occur. closes pr11576 2011-01-18 11:25:03 -07:00
Matthew Flatt
21eee45a48 fix `read-language' when input has only comments 2011-01-16 19:01:45 -07:00
Matthew Flatt
113e49aa5b extend date->seconds' and find-seconds' to work with UTC
Closes PR 6137
2011-01-16 17:53:30 -07:00
Matthew Flatt
841e0b2473 fix doc error
as reported by Hong Feng
2011-01-15 16:46:29 -07:00
Matthew Flatt
c2afc03b3b fix interaction of `continuation-mark-set-first' and prompts
including a documentation fix
2011-01-15 08:05:55 -07:00
Matthew Flatt
3e2af2f39e change locking of preferences files under Windows
to avoid the problem that `rename-file-or-directory' cannot
 replace a file that is currently open for reading (unlike Unix)
2011-01-14 08:35:14 -07:00
Matthew Flatt
723b41b3e6 fix `rename-file-or-directory' docs to more accurately report OS behavior 2011-01-13 14:09:12 -07:00
Robby Findler
cdd099f024 added docs for set/c
moved docs for predicates down near the end of the file;
  currently it goes: constructors, operations, predicates & contract, iterator stuff
  added docs for set-equal?
2011-01-08 14:10:08 -06:00
Robby Findler
422bb10b53 set docs: change the name of the parameter of set-union to avoid shadowing 'set'
used the name 'st' following the style guide's suggestion of 'lst' for lists
  since it should use the same parameter name everywhere, change this everywhere
  also: rackety
2011-01-08 13:48:59 -06:00
Matthew Flatt
9e9a3ef814 fix `regexp-match-exact?' to work on paths, drop ports from docs
Closes PR 11213
2011-01-08 10:29:32 -07:00
Matthew Flatt
f624ebdf20 doc repair
Closes PR 11215
2011-01-08 10:29:31 -07:00
Stevie Strickland
9ffb204682 Rename instanceof' to instanceof/c'. 2011-01-08 11:24:25 -05:00
Stevie Strickland
92775c5e4e Add instanceof.
The instanceof contract combinator takes a class contract.  The resulting
contract protects objects using the external field and method contracts
in the class contract.
2011-01-07 18:22:24 -05:00
Matthew Flatt
551a43d759 use scribble/manual for easier PDF rendering 2011-01-07 09:48:04 -07:00
Matthew Flatt
8f23d9dc1a fix reference hyphen and some abbreviations 2011-01-07 09:48:03 -07:00
Matthew Flatt
5b3865f3e6 doc repairs 2011-01-07 09:48:03 -07:00
Matthew Flatt
99d39ff3cf fix docs for recent shared' and struct' changes 2011-01-06 12:53:17 -07:00
Matthew Flatt
655f6045a2 fix shared' for #:auto' fields and constructors without `make-'
Closes PR 11588
 Closes PR 11591
2011-01-05 13:52:11 -07:00
Matthew Flatt
5eb2739bdf typo 2011-01-05 07:02:00 -07: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
John Clements
c7f1211c99 argmin/argmax empty list comment 2011-01-01 08:19:46 -08:00
Matthew Flatt
856df5e113 doc correction 2010-12-31 14:41:37 -07:00
Matthew Flatt
55693e090f add port-try-file-lock?' and port-file-unlock' 2010-12-31 14:40:27 -07:00
Matthew Flatt
aa4a0faab4 doc typo 2010-12-31 09:41:30 -07:00
Sam Tobin-Hochstadt
bb7307883a Fix doc typo. 2010-12-17 12:32:26 -05:00
Noel Welsh
8040100eff Merge branch 'master' of pltgit:plt into in-vector 2010-12-13 13:43:05 +00:00
Noel Welsh
cfa7b727f4 Fix some errors with in-vector and derived forms:
- Range checking was inconsistent between the sequence and macro forms
- The macro form could crash due to unsafe vector refs

Fixes involved refactoring the range checks so they are shared between both versions, and changing the contract slightly so start and stop are checked before the sequence runs. This allows unsafe vector refs and earlier error notifications at the cost making some valid programs (e.g. those using some condition to stop a comprehension hitting an invalid index) now be invalid. Only crazy people would rely on the old behaviour, so it isn't a problem in practice.
2010-12-13 13:38:35 +00:00
Eli Barzilay
c65a2ba9ab Add a noise flag indicator to `enter!'. 2010-12-12 13:10:07 -05:00
Matthew Flatt
2b4f1a6908 extend `sync/timeout' to allow a tail-position fail thunk for polling 2010-12-10 18:06:21 -07:00
Matthew Flatt
948dfe9cf0 `sync/timeout' doc clarification 2010-12-10 13:41:05 -07:00
Matthew Flatt
f6f6facd9e clarify effective-constant nature of `list?'
Closes PR 11525
2010-12-10 13:41:05 -07:00
Vincent St-Amour
0365755b3d Fix cond doc typo.
Closes PR 11517.
2010-12-08 18:17:07 -05: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
Jon Rafkind
a02d73e530 add examples for in-hash and friends 2010-12-07 11:54:12 -07:00
Stevie Strickland
10eb818f95 Conversion of struct/c to chaperones when appropriate. 2010-12-07 04:11:26 -05:00
Matthew Flatt
b328655a01 doc typo 2010-12-05 13:15:42 -07:00
Noel Welsh
f7d5dc1941 Fix typo is documentation 2010-12-03 14:35:40 +00:00
Noel Welsh
319ea7ea00 Change in-fXvector (for flvector and fxvector) to allow start, stop, and end args. Tests segfault in repeatable but apparently unrelated places 2010-12-03 12:15:59 +00:00
Matthew Flatt
7efcf80856 typo 2010-11-30 15:08:16 -07:00
Matthew Flatt
64979a5480 further refinments to the ephemeron description 2010-11-30 09:32:58 -07:00
Jon Rafkind
cf3b9680ba remove 0 arg set-union. add workaround to docs 2010-11-29 00:34:57 -07:00
Robby Findler
62f3d7e254 tried to clarify the ephemeron docs by setting the stage for the precise definition that was already there a little bit. 2010-11-28 16:06:09 -06:00
Matthew Flatt
57f0fe8414 fix reference description of GRacket 2010-11-27 18:47:49 -07:00
Matthew Flatt
5c89df2f7f Revise places docs to fit the reference-manual style 2010-11-27 18:34:33 -07:00
Matthew Flatt
c92a6b0e3d fix long line 2010-11-27 16:39:25 -07:00
Matthew Flatt
2f4c782434 doc typos 2010-11-24 12:02:46 -07:00
Vincent St-Amour
e64f8be932 Fix open-input-output-file doc. Closes PR 11371. 2010-11-23 14:15:04 -05:00
Eli Barzilay
d2b1bf73e0 A little better prose style 2010-11-16 14:58:52 -05:00
Eli Barzilay
7cf81b5668 Clarify that `current-memory-use' gets a result calculated by the last
GC, and will return 0 if no GCs happened.
2010-11-16 14:47:01 -05:00
Eli Barzilay
afa8e6c86b Add `get-user-custodian' to the sandbox. 2010-11-16 14:47:01 -05:00
Matthew Flatt
0ac5ff9be0 fix doc typo 2010-11-12 15:28:57 -07:00
Eli Barzilay
5c1bd77b9e Add shuffle' to racket/list'. 2010-11-12 17:21:11 -05:00
Eli Barzilay
c1e1c70dcf Allow optional arguments with default in `cmdline', updated docs. 2010-11-12 17:21:11 -05:00
Jon Rafkind
86d7fd5d0c microseconds not nano 2010-11-11 15:46:45 -07:00
Jon Rafkind
c17cf8db71 note about milliseconds and nanoseconds 2010-11-11 15:28:04 -07:00
Robby Findler
5a9c469b0f added forall to go along with exists contracts 2010-11-11 14:39:43 -06:00
Eli Barzilay
8e0c7477f6 drop "www." from "racket-lang.org" urls. 2010-11-09 20:11:14 -05:00
Matthew Flatt
90ac279096 add 'can-impersonate option to `make-struct-type-property' 2010-11-08 14:00:59 -07:00
Matthew Flatt
7f67b6569c v5.0.99.2: proxy' -> impersonator' 2010-11-08 06:23:16 -07:00
Matthew Flatt
3b470fe47b small doc improvements on internal definitions 2010-11-07 19:21:03 -07:00
Robby Findler
c192a1e1f8 fixed bugs in the racket/trace docs (added docs for two exported parameters and fixed a contract) 2010-11-07 15:31:18 -06:00
Robby Findler
a63bbf82ab added current-trace-results 2010-11-07 15:31:18 -06:00
Matthias Felleisen
c83cf15695 fixed some typos, and in the process rewrote some prose 2010-11-06 10:19:24 -04:00
Matthew Flatt
05cfffdf9e v5.4.99.1, executable-yield-handler', and make-bitmap' etc. 2010-11-05 15:54:50 -06:00
Matthew Flatt
dee93e6259 define-runtime-module-path-index and racket/gui/dynamic fixes 2010-11-05 15:54:46 -06:00
Matthew Flatt
75a6bfe119 improve runtime-path support for building stand-alone gui exes 2010-11-05 15:54:44 -06:00
Eli Barzilay
9a485064ed Clarify comment re `fixnum?' non-use at the syntax level, and add a note
to the `fixnum?' documentation.
2010-11-05 01:48:23 -04:00
Eli Barzilay
84ec108c32 Make the disabled places comment more prominent. 2010-11-05 01:34:27 -04:00
Vincent St-Amour
c990d602b0 Typo in the syntax-model docs. 2010-11-03 12:52:57 -04:00
Eli Barzilay
3160f821a5 Reorganize the POSIX entries in a more logical order, fix [:lower:] and
[:print:].

Fixes PR 11333.
2010-11-01 15:16:13 -04:00
Eli Barzilay
3bd84c617a Describe Unicode categories, move them to a separate table.
Also, use litchar on mentions of \-escapes and unicode categories on the LHS.

Closes PR 9424.
2010-11-01 08:25:35 -04:00
Eli Barzilay
aff75b5005 Some racketization and scribble-syntax-ization, general improvements.
(No changes in the output page after this commit, except for one bogus
empty line at the beginning of the types table.)
2010-11-01 08:25:35 -04:00
Ryan Culpepper
454673ddcc Documented set-count
Closes PR 11093
2010-10-29 16:00:43 -06:00
John Clements
cbe42caa41 added clarification on protect-out docs 2010-10-29 12:43:52 -07:00
Jon Rafkind
f21a15aef1 add some examples for port functions 2010-10-27 12:39:21 -06:00
Jon Rafkind
5633895cf0 add notes about reading entire ports 2010-10-27 12:07:36 -06:00
Matthew Flatt
5d8e000d6d swap vector*-ref' and vector-ref', etc.
Merge to 5.0.2
2010-10-25 11:22:35 -06:00
Matthew Flatt
51d613aab2 doc improvements 2010-10-22 20:15:38 -06:00
Eli Barzilay
9e302a7106 Rename sequence' library to stream', move from racket/base' to racket'. 2010-10-21 19:49:39 -04:00
Eli Barzilay
2f5265854a Rename seqn-*' to stream-*'.
Later this will grow, to include a few kinds of streams in a unified
way, and possibly change the sequence protocol to a point where these
functions are not causing such big runtime penalties.
2010-10-21 19:49:39 -04:00
Eli Barzilay
655b066a93 Reformat, minor tweaks, reorganize part on sequence operations into a
new section.
2010-10-21 19:49:39 -04:00
John Clements
bb160fbc04 r/exact-integer?/fixnum/ 2010-10-17 21:17:23 -07:00
John Clements
9f7eeee570 exr -> expr 2010-10-17 21:17:22 -07:00
Robby Findler
fc22d10b49 fixed typos 2010-10-13 15:55:17 -05:00
Matthew Flatt
99df8e1267 allow internal definitions in when', unless', cond, case', `match' 2010-10-12 06:41:49 -06:00
Eli Barzilay
40ecda1a77 Sandboxes make up and remember a reasonable default source to filter
uncovered expressions on.

(See http://lists.racket-lang.org/users/archive/2010-October/042008.html
for a detailed description.)
2010-10-11 15:07:28 -04:00
Matthew Flatt
cc79890f71 rephrase `eq-hash-code', etc. docs in terms of fixnums 2010-10-10 20:39:29 -06:00
Matthew Flatt
a0e4eb990d document racket/fasl 2010-10-09 08:15:26 -06:00
Matthew Flatt
6ac33a62be set `read-accept-lang' to #t by default, plus related adjustments
including adding some uses of `with-module-read-parameterization'
 so that `read-accept-lang' is set right anyway; still, so many
 many places just set `read-accept-reader' to #t that making
 `read-accept-lang' #f by default looks like too big of an
 incompatibility
2010-10-08 19:01:33 -06:00
Matthew Flatt
fe301b1ff4 print-boolean-long-form, #true, #false, read-accept-lang, flonum? 2010-10-08 15:13:04 -06:00
Matthew Flatt
281f935503 doc tweak 2010-10-07 17:00:51 -06:00
Matthew Flatt
65ad6aee20 fix `touch' to run a suspended future in the runtime thread
if no future thread is running the future; also adjust the
 policy for suspending a future so that even synchronized
 operations can suspend if there's other work to be done;
 also also fix `current-future' for nested `touch'es and when
 parallel futures are disabled
2010-10-07 14:58:53 -06:00
Ryan Culpepper
e3eba452b4 updated dict docs 2010-10-04 11:54:03 -06:00
Ryan Culpepper
ee157ae239 commented out incomplete dict/contract docs 2010-10-04 11:54:03 -06:00
Matthew Flatt
4b120e5d86 add `proxy-prop:application-mark' 2010-09-29 12:26:46 -04:00
Matthew Flatt
c1aa594657 add fvectors and unsafe-{s,u}16-{ref,set!} 2010-09-24 16:32:07 -06:00
James Swaine
bd799c3db9 Small corrections to the futures documentation. 2010-09-21 11:15:50 -05:00
Eli Barzilay
ee138cf2cb Some repeated "and and"s and "the the"s, and two more typos.
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Matthew Flatt
3866c3e450 generalize `flvector-copy' to support start and end indices 2010-09-17 13:35:01 -06:00
Will M. Farr
beb2175456 Added flvector-copy (with tests and docs). 2010-09-17 13:35:01 -06:00
Matthew Flatt
232a580e53 add prop:proxy-of'; Fix chaperone-of' on keyword-accepting procedures 2010-09-17 08:55:46 -06: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
Jay McCarthy
43d527818e Fixing pr11196 and fixing bug in hash-eqv serialization 2010-09-13 10:44:21 -06:00
Matthew Flatt
ff9b535dc6 fix hash proxying in the case that proxied key has no value 2010-09-10 12:46:58 -06:00
Sam Tobin-Hochstadt
dca895c129 Minor edits to `for/vector' docs. 2010-09-09 17:08:09 -04:00
Will M. Farr
81b1ed6e8b New updates to for/vector, for*/vector, for/flvector and for*/flvector.
Now use for/fold to thread the index through the iteration form, so
that all variants can take advantage of the optional #:length
argument.  Previously, only the for/vector and for/flvector used the

The behavior when #:length does not match the number of iterations has
changed: iteration stops when either the vector is full, or the
requested number of iterations has been achieved, whichever comes
first.  If #:length is larger than the number of iterations performed,
then the remaining slots in the vector are filled with the default
argument of (make-vector ...), which is currently 0.
2010-09-09 16:23:04 -04:00
Will M. Farr
3d016150a3 Updates to for/vector, for/flvector forms and documentation.
- Now the faster forms take a #:length keyword to designate the length
  of the vector to pre-allocate.

- The for/[fl]vector forms take multiple body expressions and set the
  vector component to the value of the last one.

- When given a #:length argument, the for/vector and for/flvector
  forms check that the iteration is not exceeding the given length,
  raising exn:fail if it does.

- Test cases for the multiple body expressions and the exception for
  excessive iterations have been added.

- Doc modifications to bring the docs in line with the new forms.

- Doc modifications to note that the #:length versions of the form
*may* all the computation to be performed more efficiently, and
stating that it "is an error" if the given length-expr does not
produce a valid length for a vector that matches the number of
iterations for the loop.

- Note that no test is made for a number of loop iterations that is
  smaller than the given vector length.  Also, the for*/[fl]vector
  forms do not optimize when given a #:length argument.  These are
  areas for future improvement.
2010-09-09 16:22:53 -04:00
Robby Findler
d5a3e08131 added docs for the check syntax / contract system interaction 2010-09-04 11:18:39 -05:00
Kevin Tew
55674e8427 Places: docs fixes 2010-09-02 12:25:27 -06:00
Matthew Flatt
69658697b1 add proxies and rename chaperone properties to proxy properties
where a proxy is less constrained in its conversions but more
 constrained in where it can be used
2010-08-31 19:15:20 -06:00
Matthew Flatt
e13effd07c adjust 'configure-runtime index entry 2010-08-30 14:35:15 -06:00
Kevin Tew
bc5d1c2011 Places: added shared-flvector and shared-byte string 2010-08-30 08:50:07 -06:00
Robby Findler
9b657ad53a added an index entry for configure-runtime 2010-08-29 15:10:08 -05:00
Robby Findler
7233e07ec5 typos 2010-08-27 14:30:05 -05:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
2853020369 A bunch of typo fixes.
Fixes PR11131.
2010-08-26 12:11:00 -04:00
Matthew Flatt
a04403a316 add GMT option to seconds->date 2010-08-25 14:58:27 -06:00
Matthew Flatt
68860526e5 doc x-ref clarifications 2010-08-24 05:39:47 -06:00
Will M. Farr
82096abb1b Added interation forms for/vector, for*/vector, for/flvector, and for*/flvector and for-clause in-flvector. 2010-08-19 18:45:13 -04:00
Matthew Flatt
eb584b4ecd fix docs for tcp-addresses and udp-addresses 2010-08-19 16:13:50 -06:00
James Swaine
1a2c0546a6 current-future now returns #f if not inside a future, instead of null. Added documentation for current-future. 2010-08-19 09:36:25 -05:00
Matthew Flatt
dafb9de74c add #:reflection-name option to struct form 2010-08-18 16:13:58 -06:00
Matthew Flatt
4299b12d5b fix pretty-print problems, especially related to the custom-write property 2010-08-18 16:13:57 -06:00
Matthew Flatt
0d9f5016ba fix bytecode-writing inconsistencies related to syntax objects and paths
and improve organization of the docs
2010-08-17 17:18:24 -06:00
Jay McCarthy
58b9c7a6e4 Fixing seqn-count 2010-08-13 15:06:14 -06: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
Jay McCarthy
553648a5a6 Dropping _0 2010-08-12 19:51:05 -06:00
Jay McCarthy
fae0cb2c99 A few fixes to the documentation 2010-08-12 14:10:20 -06:00
Jay McCarthy
8c32de33c6 Adding sequence support for mlists and more sequence xrefs 2010-08-12 14:10:20 -06:00
Jay McCarthy
383465aa06 Removing reference to sequence/c 2010-08-12 14:10:20 -06:00
Jay McCarthy
2751ace762 Adding more sequence operators 2010-08-12 14:10:19 -06:00
Jay McCarthy
3fe91f0fdd Adding vector-set* and dict-set* exn tests 2010-08-12 14:10:19 -06:00
Jay McCarthy
d047557dc6 Adding dict-has-key? and updating unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
bdc26b53bb Adding dict-ref bang 2010-08-12 14:10:18 -06:00
Jay McCarthy
2d1787a309 Add dict-set* 2010-08-12 14:10:18 -06:00
Jay McCarthy
a8fc09b49a Adding dict-keys,values,->list 2010-08-12 14:10:18 -06:00
Jay McCarthy
f23daa3aea Rename hash-range and domain to keys and values 2010-08-12 14:10:17 -06:00
Jay McCarthy
e06f0e78b2 Adding hash-set* and hash-set*bang 2010-08-11 17:39:48 -06:00
Jay McCarthy
fadfee7849 Normalizing docs a little 2010-08-11 16:49:04 -06:00
Jay McCarthy
58ad011ce9 Adding hash->list 2010-08-11 16:42:46 -06:00
Jay McCarthy
db87add6b7 Adding hash-domain and hash-range to racket/base 2010-08-11 16:37:46 -06: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
Sam Tobin-Hochstadt
02d9418f9a document match* 2010-08-10 15:56:15 -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
Eli Barzilay
f46144d5d3 reader examples typo 2010-07-27 10:15:40 -04:00
Matthew Flatt
1a84aecc42 doc typo 2010-07-26 14:53:45 -05:00
Matthew Flatt
7cb461371a fix doc typo 2010-07-26 09:43:55 -05:00
Matthew Flatt
5f1aa418f3 add collection-file-path and splace collection trees at the file level 2010-07-25 11:01:09 -05:00
Matthew Flatt
f1dc3bf06e fix doc typo 2010-07-21 15:50:22 -06:00
Matthew Flatt
b71940bfbf fix doc typo
Closes PR 10881
 Merge to 5.0.1
2010-07-20 10:36:52 -06:00
Jay McCarthy
5417d7a5b7 Fixing path-only documentation and adding new test case 2010-07-19 13:56:01 -06:00
Matthew Flatt
49ad309630 allow full continuations to escape past a continuation barrier 2010-07-10 07:31:58 -06:00
Matthew Flatt
52d04449a1 improve racket/serialize to handle cycles with mutable prefabs 2010-07-09 14:19:59 -06: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
Matthew Flatt
54216b5ced internal-definition contexts allow expressions mixed with definitions
while the new `#%stratified-body' form provides access to the old
 convention
2010-07-07 13:56:16 -06:00
Matthew Flatt
04fa6c6acd add `subprocess-group-enabled' for process-group support
and fix problems with places and subprocesses
 and fix some mzrt thread setup and teardown issues
2010-07-05 17:51:26 -06:00
Matthew Flatt
5c2ae50e45 add current-subprocess-custodian-mode 2010-07-04 12:42:25 -06:00
Matthew Flatt
fb730cb1c2 custodian box as synchronizable event 2010-07-04 10:42:38 -06:00
Matthew Flatt
39f57b23c4 clarify note on shell process creation 2010-07-04 09:53:12 -06:00
Robby Findler
f83784452e made ->d's optional argument spec itself optional 2010-07-02 20:52:48 -05:00
Matthew Flatt
439bc0a293 add flreal-part', flimag-part', `make-flrectangular', and unsafe variants 2010-07-02 16:08:15 -06:00
Matthew Flatt
491ab3c12b expose internal display/write/print-limiting functionality via `printf'
addition of ~.
2010-07-02 16:08:14 -06:00
Matthew Flatt
e1112b45cd fix typos 2010-07-02 16:08:14 -06:00
Matthew Flatt
3de7dbd2fd add chaperone-evt 2010-07-01 14:59:01 -06:00
Matthew Flatt
47eb8ea815 add `identifier-prune-to-source-module' and use it in contract implementation
reduces DrRacket's initial footprint by 20-25% --- back to the v5.0 level
2010-06-30 10:40:03 -06:00
Matthew Flatt
47c7c1a27b JIT support for inexact->exact', add unsafe-fl->fx', etc. 2010-06-28 15:57:49 -06:00
Jon Rafkind
ccac23d648 show example of nested syntax matching 2010-06-28 14:33:00 -06:00
Jon Rafkind
6d3b976375 add note about racket/base being faster than racket 2010-06-28 14:04:48 -06:00
Sam Tobin-Hochstadt
12f30cf478 Update `trace' docs.
- Move trace implementation to racket/trace.
- Move documentation to new Debugging section in Reference.
- Add example.
2010-06-27 19:17:04 -04:00
Matthew Flatt
dc99e1992c restore support for sub-matches in `regexp-replace*' 2010-06-26 18:23:54 -06:00
Vincent St-Amour
a6c75db94f Fixed typos in the numbers reference. 2010-06-25 18:01:41 -04:00
Vincent St-Amour
674046f39d Fixed a mistake in the byte-string reference. 2010-06-17 18:45:28 -04:00
Matthew Flatt
d6d5c914f7 cases when number functions produce 0: clarify docs and fix (atan 0 x)
for positive exact x;
 also clarify docs on some cases when divide-by-zero exception is raised
2010-06-11 15:04:24 -06:00
Robby Findler
0126324f41 documented contract-stronger? 2010-06-06 14:57:11 -05:00
Sam Tobin-Hochstadt
47218dcb16 Fix typo. Closes PR 10958. 2010-06-04 14:15:50 -04:00
Matthew Flatt
88a06c724c revise examples for bound-identifier=? and free-identifier=? 2010-06-03 17:41:08 -06:00
Matthew Flatt
32297601b6 use simple-form-path more consistently for path normalization
--- a reversal of opinion from my earlier commit; the problem
 with syntactic simplification is that it may not refer to the
 same file, due to soft links; given that true normalization is
 impossible, simplify-path and simple-form-path provide a good
 compromise between preserving paths as given and exanding
 soft links as neede
2010-06-03 17:23:14 -06:00
Jon Rafkind
53cfb15e5c add example for free-identifier=? and bound-identifier=? (from the r6rs docs) 2010-06-03 16:27:55 -06:00
David Van Horn
22e2f3061f Various typo, spelling, and punctuation fixes in scribblings.
Signed-off-by: David Van Horn <dvanhorn@ccs.neu.edu>
2010-05-28 14:47:54 -06:00
Matthew Flatt
c8de3b5d1e change `pretty-print' to accept a qq-depth argument
makes it more consistent with `print'
 fixes the htdp/bsl, etc. languages, which install a global print
  handler
 Merge to v5.0
2010-05-27 20:22:44 -06:00
Jay McCarthy
7e485b8d28 Documenting make-hasheqv and using it 2010-05-27 12:35:30 -06:00
Vincent St-Amour
c11a88f888 Added some indexes to the reference to make open-output-nowhere easier
to find.
2010-05-25 17:30:54 -04:00
Matthew Flatt
97d078a156 adjust `pretty-printing' parameter for single-line printing
make it #f in that case, as opposed to printing in multi-line
 mode when the content doesn't fit on a single line
2010-05-24 15:15:45 -06:00
Jay McCarthy
1b6b721aee Adding date->seconds 2010-05-24 14:25:35 -06:00
Jay McCarthy
009ae0588e Adding current-date 2010-05-24 14:23:53 -06:00
Matthew Flatt
0b8a664d78 fix minor doc bugs 2010-05-24 10:03:37 -06:00
Matthew Flatt
c3f5aed473 fix docs for in-directory to specific default argument value
Merge to v5.0
2010-05-24 10:03:36 -06:00
Jose Antonio Ortega Ruiz
92bbe52da0 Fixes for trivial typos in Reference sec. 1.1. 2010-05-23 23:10:36 -04:00
Matthew Flatt
e4aab34656 Fix `at-exp' syntax colorer to handle non-text input
- added 'special-filter-input-port' to `racker/port'
 Merge to v5.0
2010-05-21 19:40:32 -06:00
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Eli Barzilay
c4f67b3e74 Small typos, some reformatting.
Fixes PR10920
2010-05-21 16:30:16 -04:00
Eli Barzilay
12211fff72 Various lazy-related fixes etc.
* A long-standing bug, which happened with
    (let ([x (lazy (delay 1))]) (force x) (force x))
  not being properly handled.

* Added `delay/strict', mostly for the below.

* Made srfi/45 reprovide it as `eager'.

* Also restricted the exports from srfi/45 to its interface.

All of these issues were reported by Andreas Rottmann.
2010-05-21 15:12:16 -04:00
Matthew Flatt
70089070c7 clarify that 'exec-file is not necessarily an absolute path 2010-05-20 12:02:01 -06:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Matthew Flatt
1873a6f14d fix typo 2010-05-16 07:30:43 -06:00
Matthew Flatt
900784c8e4 fix regexp sub-pattern reporting 2010-05-15 08:36:11 -06:00
Matthew Flatt
aa9a8549ad finish Guide chaper on defining languages 2010-05-14 13:34:23 -06:00
Matthew Flatt
8752e65bf8 disable check on a module's source name 2010-05-14 11:33:09 -06:00
Matthew Flatt
88fd429eaf initial cut at language-creation chaper in guide: reader extension 2010-05-14 11:33:08 -06:00
Matthew Flatt
c1abea82ec add local-require to racket/base 2010-05-11 12:31:28 -06:00
Sam Tobin-Hochstadt
c22735ea49 `block' doesn't have this limitation 2010-05-11 12:01:15 -04:00
Sam Tobin-Hochstadt
3965eab9c8 Add `racket/block' 2010-05-11 12:01:15 -04:00
Matthew Flatt
5b76acb4ae add racket/system to racket 2010-05-11 07:06:07 -06:00
Matthew Flatt
50e923b199 add 'eprintf' and 'displayln' 2010-05-11 06:38:34 -06:00
Matthew Flatt
acb98cef60 allow paths as input to regexp-matching functions 2010-05-11 06:03:39 -06:00
Matthew Flatt
5f2ef77c14 fix reference typo 2010-05-10 20:40:51 -06:00
Matthew Flatt
899e85f94f change prop:custom-print-as-constructor to more general prop:custom-print-quotable 2010-05-10 18:32:25 -06:00
Matthew Flatt
f24d66f02f improve docs on printer modes 2010-05-09 07:05:20 -06:00
Matthew Flatt
1a5e662433 doc corrections and completions 2010-05-08 11:46:14 -06:00
Matthew Flatt
e5a259bdf0 document latest printing convention 2010-05-06 18:01:21 -06:00
Matthew Flatt
43027a8d9b switch printer to constructor+quote style 2010-05-06 10:33:42 -06:00
Matthew Flatt
27cd77c16c fix problem with chaperone of chaperoned hash 2010-05-05 09:23:40 -06:00
Matthew Flatt
60446bcd95 fix racket/vector test and doc typo 2010-05-05 06:18:52 -06: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
8af4134991 move result-chaperoning procedure to start of chaperioning procedure's results 2010-05-04 13:56:21 -06:00
Matthew Flatt
a097b2ef6a fix chaperone-hash to be more consistent with key handling 2010-05-03 17:59:54 -06:00
Matthew Flatt
fae14aed03 doc repairs 2010-05-03 17:59:54 -06:00
Sam Tobin-Hochstadt
14d1a394f1 remove section so that docs render properly 2010-05-03 17:42:27 -04:00
Sam Tobin-Hochstadt
b752370a57 use @racket instead of @scheme in vector docs 2010-05-03 17:13:14 -04:00
Sam Tobin-Hochstadt
46828541a5 docs for vector-member etc 2010-05-03 17:11:55 -04:00
Matthew Flatt
166b92f9c8 replace mzc and setup-plt docs with raco doc (which refers to the still-separate planet doc) 2010-05-02 11:04:48 -06:00
Matthew Flatt
e504acb726 use .rktl suffix for files meant to be 'load'ed 2010-05-01 09:58:16 -06:00
Matthew Flatt
cb5c83c5a7 add custom-print to printable<%>; redirect printable<%> to writable and pretty-print to pretty-write in 'scheme' 2010-05-01 08:43:20 -06:00
Matthew Flatt
835ebc0785 add in-directory 2010-05-01 08:29:53 -06:00
Jay McCarthy
f3305dc6eb Fixing doc contract 2010-04-30 11:58:58 -06:00
Matthew Flatt
783e309b4d add serializable-struct 2010-04-30 08:02:56 -06:00
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