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