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