Matthew Butterick
d2c36210ba
Remove bold
from inside title
of Guide
...
So that the formatting doesn’t propagate throughout the docs.
2017-11-21 10:08:09 -08:00
Sam Tobin-Hochstadt
ff5f5ff2af
Fix range for random-seed
.
...
Closes #1892 .
2017-11-16 12:52:34 -05:00
Matthew Flatt
ee19bf8c99
add missing history
note for check-duplicates
2017-11-09 06:23:47 -07:00
Huma Zafar
4e864a5387
Adds optional keyword argument to check-duplicates to determine returned value when no duplicate found.
2017-11-08 18:47:19 -06:00
Stephen De Gabrielle
3cb7044976
filesystem-change-evt? typo
...
changed
Returns #f if v is a filesystem change event, #f otherwise.
to
Returns #t if v is a filesystem change event, #f otherwise.
2017-11-06 16:25:37 -06:00
Ben Greenman
64a9791031
doc: index 'RED' and 'REL'
2017-11-04 22:41:10 -04:00
Spencer Florence
4f1ef42d07
replace { with [ to fix exn reference
2017-11-02 13:53:12 -05:00
Robby Findler
b9cd60010f
correct path examples
2017-10-31 16:12:46 -05:00
سليمان السهمي (Soulaïmane Sahmi)
12febe5cc2
Perhaps you mean O(n) space ( #1871 )
2017-10-28 01:15:06 -04:00
Matthew Flatt
c52bd91c54
add unsafe-struct*-cas!
2017-10-25 17:36:03 -06:00
Daniel Mendler
bc26d29bf8
add vector-cas! and unsafe-vector*-cas!
2017-10-25 17:36:03 -06:00
Matthew Flatt
ae4e85a6a7
evt:struct with unsafe-poller: skip sleep if poll reports ready
...
Intended to fix racket/gui#80
2017-10-23 06:03:25 -07:00
Rommel Martinez
81d51789ad
Fix typo
2017-10-22 01:48:21 -04:00
Jay McCarthy
2b9b1b22f2
raco test --deps docs
2017-10-20 11:34:40 -04:00
Andrew Kent
9e16d3f9c9
add #:result clause to for/fold forms
2017-10-18 07:15:15 -04:00
Leif Andersen
b940ee8440
tag-id -> tag-expr
...
This is because the optional tag argument can be any expression,
as pointed out by Matthew.
2017-10-16 16:31:38 -04:00
Leif Andersen
2a8bece8de
Add #:tag to the docs for define-cpointer-type
2017-10-16 13:07:07 -04:00
Alexis King
00d438cfbe
Make splicing-syntax-parameterize recur into module* without a mod-path
2017-10-15 15:53:59 -06:00
Matthew Flatt
1cc55f30fe
subprocess: support adding to an existing subprocess group
2017-10-12 12:37:21 -06:00
Matthew Flatt
9f5e9c8db3
fix documented contract for {absolute,relative,complete}-path?
...
They accept any string, instead of just path strings.
2017-10-12 12:37:20 -06:00
Matthew Flatt
afc5f919f1
ffi/unsafe/schedule: expose some scheduler internals
...
These internals are needed for `racket/gui`, which currently
accesses them via C functions.
2017-10-12 12:37:15 -06:00
Matthew Butterick
43caae97b7
Doc typo
2017-10-04 21:14:12 -04:00
Daniel Feltey
ed5911e531
make contract-stronger?
return #f for impersonator contracts that don't implement stronger
2017-09-29 15:57:56 -05:00
Leif Andersen
e5a14c4f9d
Add make-serialize-info example.
2017-09-28 13:53:19 -04:00
Ben Greenman
56443e76a9
doc: remove extra '}'
2017-09-28 00:48:51 -04:00
Ben Greenman
f29d77d3d8
doc: swap takef / dropf codomain contracts
...
The codomain for `takef-right` didn't match `take-right`.
Same for `dropf-right`.
2017-09-25 16:35:39 -04:00
Ben Greenman
1933501658
doc: fix hash-union contracts
...
Changed to match `hash-set` and `hash-set!` contracts
- `hash-can-functional-set?` => `immutable?
- `hash-mutable?` => `(not/c immutable?)`
2017-09-25 16:35:23 -04:00
Matthew Flatt
d4f2f01c80
ffi/unsafe: add void/reference-sink
2017-09-24 08:27:48 -06:00
Eric Dobson
2825d4bebb
Fix duplicate doc of atomic mode.
2017-09-23 16:57:38 -06:00
Leif Andersen
5e3a23886a
Make compute-offsets public. ( #1814 )
...
Make compute-offsets public.
2017-09-22 23:15:28 -04:00
Ben Greenman
807ce8d495
typo: 'namesapce'
2017-09-18 15:14:52 -04:00
Michael Ballantyne
7c3ff9da18
Improve namespace-attach-module
example
...
The current example fails to illustrate the complete use, as the final evaluation of `apple` would succeed even without the `namespace-attach-module` call. This updated example demonstrates that `namespace-require` is still needed after the module is attached, and also shows how the behavior differs from `namespace-attach-module-declaration`.
2017-09-18 14:57:41 -04:00
gus-massa
93112c4557
fix typos
2017-09-10 21:26:28 -04:00
Milo Turner
361442c197
require racket/contract/base in generic.scrbl to fix label links
2017-09-04 10:50:40 -05:00
Ben Greenman
b743544806
doc: example recursive-contract ( #1785 )
2017-08-28 16:15:51 -04:00
Sam Tobin-Hochstadt
3dd17c73ed
Clarify current-future. ( #1780 )
2017-08-23 16:58:52 -04:00
Matthew Flatt
c87cdf5988
fix docs for list->cblock
and vector->cblock
2017-08-19 19:02:06 -06:00
Matthew Flatt
52e7267273
doc correction for will-execute
2017-08-19 19:02:06 -06:00
Ben Greenman
3e2325acaf
doc: #lang racket does not reprovide 'racket/logging'
2017-08-19 00:53:42 -04:00
Matthew Flatt
d6fdabd691
fix doc typo
2017-08-18 09:27:23 -06:00
shhyou
e997bb96ea
Point make-meta-reader to the document of read
...
- Point read, read-syntax and make-meta-reader to
the documentation explaining the arguments of
read and read-syntax.
2017-08-15 07:12:40 -06:00
Matthew Flatt
59fc3758f0
thread-suspend-evt: doc correction
2017-08-10 18:33:49 -06:00
Matthew Flatt
f790084e11
call-in-nested-thread: add missing info in docs
2017-08-10 18:33:49 -06:00
Ryan Culpepper
5519a8ab45
example of unquoted-printing-string in make-constructor-style-printer
2017-08-04 12:24:13 -04:00
Matthew Flatt
cbfcc904ab
add unquted-printing strings
...
And unquoted-printing string contains a string to `display` in all
print modes. Although it could be implemented with a structure type
that has a printing function, `raise-arguments-error` further treats
unquoted-printing strings specially by not using the error value
conversion handler, so it reliably produces literal text in the error
message; that way, `raise-arguments-error` can be used to construct
more error messages.
2017-08-04 06:13:19 -06:00
Matthew Flatt
1ca8b6d533
bytes-utf-8-length: fix result contract in docs
2017-08-04 06:13:19 -06:00
Weng Shiwei
12e497e0e8
adding file extension ".scrbl" to fix redirection
...
adding file extension ".scrbl" to fix url redirect error. Otherwises, it triggers a redirection error.
This link is just before [section 8.7.1 in reference of contract](https://docs.racket-lang.org/reference/Building_New_Contract_Combinators.html )
This fix works and I guess it's correct.
I didn't compile the document project but I searched other `@other-doc` tags in project, the link in lib are all ending with `.scrbl`
The current generated url is:
https://download.racket-lang.org/docs/6.9/html/local-redirect/index.html?tag=%28part._%28.%27%28lib._contract-profile%2Fscribblings%2Fcontract-profile..rkt%29.%27._.%27top.%27%29%29&version=6.9
If changing `rkt` to `scrbl` in the url:
[https://download.racket-lang.org/docs/6.9/html/local-redirect/index.html?tag=%28part._%28.%27%28lib._contract-profile%2Fscribblings%2Fcontract-profile..scrbl%29.%27._.%27top.%27%29%29&version=6.9 ](https://download.racket-lang.org/docs/6.9/html/local-redirect/index.html?tag=%28part._%28.%27%28lib._contract-profile%2Fscribblings%2Fcontract-profile..scrbl%29.%27._.%27top.%27%29%29&version=6.9 )
The redirected result is correct.
2017-07-31 17:32:53 -06:00
Weng Shiwei
4bad4d7655
should be "requiring" module invokes the function
...
Before this line, it says the function flows from providing module to requiring module.
After this line, it says the argument travels back from requiring moduleo to providing module.
I believe that argument supplying and function invoking should happen at requiring module, rather than providing module.
2017-07-28 10:43:10 -06:00
Carlo Dapor
1e9a56215f
In English, "one" can be used both when counting (1, 2, 3, 4, 5, ...) as well as an atricle in front of a nouns (one tree, one bridge, ...). In German the two use cases are distinct. "One" as in counting is "eins, zwei, drei, vier, ...", but as an acticle it would be "ein" (for male or neutral nouns) or "eine" (for female nouns). Thus in the text the correct term would be "eins" in German.
...
For the French counting, "une" is not quite correct. It is the female form for "one" as an article. It is much more common to count "un", "deux", "troix", "quatre", "cinq", ....
2017-07-28 09:58:12 -06:00
Matthew Flatt
94b9b8f4dd
document integer->integer-bytes
and integer-bytes->integer
change
2017-07-28 09:51:15 -06:00