Ben Greenman
5917f92ac1
typo: remove extra period in vectorof docs
2017-07-04 13:03:22 -04:00
Matthew Butterick
442c2fdfaf
Correct typo
...
`bust be an` → `must be a`
2017-07-02 22:58:33 -04:00
Matthew Flatt
ed8145e0d2
fix doc typo
2017-07-02 14:26:59 -06:00
Matthew Flatt
63146e5451
ffi/unsafe/custodian: handle already-shutdown custodians
2017-06-29 14:36:42 -06:00
Matthew Flatt
eb24c1e0b1
find-relative-path: correct contract in docs
...
Also, avoid a test on Windows that can't work there.
2017-06-29 13:26:24 -06:00
Matthew Flatt
7939e32a57
docs: fix {read,peek}-{byte,char}-or-special
argument order
2017-06-29 13:20:57 -06:00
catull
95ddfa4972
Typo: (fir l) was probably meant to be (fist l).
2017-06-25 01:18:50 -04:00
Matthew Flatt
81f1c90ee0
small corrections reader docs
...
Fixes inaccuracies discovered when reimplementing
the reader in Racket.
2017-06-22 15:00:00 -06:00
Matthew Flatt
3c07250db4
fix printer for (unquote @d)
...
Avoid printing `(unquote @d)` or `(unsyntax @d)` as `,@d` or `#,@d`,
which would mean `(unquote-splicing @d)` or `(unsyntax-splicing @d)`
to the reader, by adding an extra space before the `@`.
2017-06-22 15:00:00 -06:00
Matthew Flatt
4bbe7a241d
doc clarification for parameterize-break
2017-06-22 12:59:02 -06:00
Matthew Flatt
0d2908f824
regexp docs: minor corrections
...
Fixes inaccuracies discovered when reimplementing
regexp matching in Racket.
2017-06-22 12:25:43 -06:00
Matthew Flatt
36e2155b91
tcp-addresses: fix docs to note that a UDP socket is accepted
2017-06-22 12:25:43 -06:00
Matthew Flatt
31d82eb9a6
raco setup: add note in docs for --tidy
...
Related to #1718
2017-06-22 08:39:39 -06:00
Matthew Flatt
30e4e812ba
raco test: doc and help tweaks
...
* Clarify shell context for `++args` note on quotes
* Add `history` notes
* Make the help output fit in 80 columns
* Bump "compiler-lib" version
2017-06-22 08:36:30 -06:00
Conor Finegan
9852afe1b1
raco test: support ++arg <arg>
and ++args <args>
...
Add a way for `raco test` to pass along arguments to the test program.
2017-06-22 08:09:22 -06:00
Ben Greenman
a915433b02
doc: add tech link for box in 'immutable?' description
2017-06-21 01:47:01 -04:00
Matthew Flatt
8094ef7a02
clarify free
docs: don't use with malloc
modes other than 'raw
...
Closes #1708
2017-06-20 11:59:26 -06:00
Matthew Flatt
d8fcbc7b56
remove incorrect claim about identifier-binding
...
It was true for the old macro system, but it isn't true now.
Closes #1485
2017-06-20 11:59:26 -06:00
Matthew Flatt
60e85fcaf3
rktio: document 'replace and 'replace/truncate changes
2017-06-19 06:45:18 -06:00
Matthew Flatt
c02eacd5d2
rktio: repairs to kqueue-based fs-change events
2017-06-19 06:45:18 -06:00
Matthew Flatt
c4b3b19c1e
rktio: repairs
...
All tests now pass for MacOS.
2017-06-19 06:45:17 -06:00
Ben Greenman
5cfe5619de
style: document '/', as in 'call/cc'
...
Add row to the table in the section on "Names".
Also clarify that the nearby margin note is about `#%`
2017-06-07 14:29:33 -04:00
Leif Andersen
40d4a35329
Add documentation for scheme_atexit
2017-06-04 18:52:09 -04:00
Leif Andersen
2f6c42f3c1
Add a #:make-c-id flag to define-ffi-definer
...
This make-c-id allows an author to specify a convention for how
to connect and identifier defined with define-ffi-definer and
the actual symbol in the file.
* Adds docs.
* Adds tests.
* Adds history.
2017-06-02 10:26:57 -04:00
Leif Andersen
3364dba903
Another typo in the docs:
...
type? -> ctype?
2017-06-01 15:37:16 -04:00
Leif Andersen
cac1266d05
Fixed documentation for cblock->vector.
...
It defined cblock->vector as cblock->vector, rather than
comparing it cblock->list.
2017-05-31 15:46:54 -04:00
Alexis King
69fb636a1c
Add a missing for-label require in the contracts section of the guide
2017-05-30 20:09:50 -07:00
Ben Greenman
6d7f075ec5
typo: set 'subset?' functions take 2 arguments, no more
2017-05-30 17:47:53 -04:00
Leif Andersen
ea778e1dd9
FIx typo in #:retry docs for _fun.
2017-05-30 08:46:10 -04:00
Matthew Flatt
06b69c625f
repair chainges to ffi/file
...
Bring back the exported `_file/guard`, `_file/r`, and `_file/rw`;
restore/move tests in "file.rktl" test suite; and add docs for new
functions.
2017-05-27 07:29:47 -06:00
Matthew Flatt
87c0ca84a8
add ffi/unsafe/global
and switch openssl
to use it
...
Continues the move away from using the FFI to access unsafe Racket
functionality.
2017-05-26 17:49:16 -06:00
Matthew Flatt
bf83d1126d
add some unsafe operations as an alternative to FFI access
...
Accessing unsafe functionality through the FFI seemed like a good way
to avoid writing C code, but it made things more complicated instead
of easier, and it interacts badly with a more agressive shift away
from C (such as porting to Chez Scheme). So, add functions to the
primitive `#%unsafe` module, instead.
2017-05-26 16:26:06 -06:00
Leif Andersen
8f6ec91fb1
code-define-id -> core-define-id
...
Just another small typo.
2017-05-25 14:48:53 -04:00
Leif Andersen
3f61100dcc
ctype -> ctype?
...
Also void -> void?
These two forms are now documented using contracts, which matches
with the rest of the FFI docs.
2017-05-25 13:48:48 -04:00
Georges Dupéron
5904cea99a
Small changes to the documentation
...
* Fixed typo in the docs for serialization (serializable-struct/version → serializable-struct/versions)
* Fixed typo in scribble documentation (head pattern → a-pattern)
* Made the order of the argument descriptions match the order of the arguments in the documentation for import and export
2017-05-12 16:01:29 -05:00
Leif Andersen
cd1e56bfaf
Improve docs for FFI custodian API. ( #1684 )
...
Improve docs for FFI custodian API.
The docs were unclear on when an object goes from weakly to strongly
held.
Also add a missing space
2017-05-12 16:32:25 -04:00
Matthew Flatt
f43234e1cb
add prop:authentic
and (struct .... #:authentic ....)
...
An authentic structure type is one whose instances cannot be
impersonated or chaperoned. The intended use of `prop:authentic` is to
annotate a library-private data structure where impersonators are
never needed internally for the data structure, and the declaration
lets the compiler produce less code and fewer branches by omitting
impersonator support.
2017-05-12 12:40:57 -06:00
Matthew Butterick
7908be8ce9
Fix spelling errors ( #1687 )
...
“cooresponds” → “corresponds” x2
2017-05-11 10:08:26 -04:00
Ben Greenman
11484b9d34
doc: explain blame object passed to late-neg
...
The blame object passed to a late-neg-proj function will be missing
one party. The missing party is sometimes the negative party and
sometimes the positive party.
2017-05-01 18:26:01 -04:00
Sam Caldwell
a666f1b0c1
typo
2017-05-01 16:34:26 -04:00
Vincent St-Amour
4ffd2fc1b8
Restore docs about impersonator-of? and immutable hash tables.
...
In the impersonate-hash docs, this time.
2017-04-30 13:44:49 -05:00
Vincent St-Amour
206ced8d47
Add examples for impersonator-of?.
2017-04-30 13:44:49 -05:00
Vincent St-Amour
d9b39eac1f
Add back desciption of impersonator-of?'s behavior on impersonator subparts.
2017-04-30 13:44:49 -05:00
Daniel Feltey
e29dba115b
New impersonator-of? docs
2017-04-30 13:44:49 -05:00
Matthew Flatt
bb2f1998f1
document binding structure of for/fold
...
The binding structure is not natural, but changing the binding rules
would risk breaking existing code.
Closes #1659
2017-04-29 11:08:42 -07:00
Vincent St-Amour
13443dec92
Add chaperone-vector*, unsafe-chaperone-vector, and property-only vector chaperones.
...
By analogy with the procedure chaperone equivalents.
2017-04-28 14:27:53 -05:00
Matthew Butterick
6e64da6880
Fix typos ( #1651 )
...
Fix typos
`sourve` → `source` x4
2017-04-27 09:16:22 -06:00
Matthew Flatt
608e6cc2a2
add tests for racket/port
...
Also, fix some doc typos.
2017-04-26 17:16:59 -06:00
Matthew Flatt
d469265a6e
Makefile: support both cross-platform and non-cross installers
...
In non-cross mode, `-C` needs to go after `-G` and `-X` when setting
up a "bundle" directory to turn into an installer, because that mode
needs to use foreign libraries (such as SQLite) at build time, and it
can use the instances that are being set up for the installer.
Meanwhile, improve the advice for setting `PLAIN_RACKET` to use `-C`
for a cross-platform build mode, even though things tend to work
anyway without it.
2017-04-26 15:59:04 -06:00
Philip McGrath
e9cd1e5595
Corrected Racket Reference for get/build-late-neg-projection
...
and `get/build-val-first-projection`.
Both had incorrectly shown that the returned function took
a `contract?` as an extra first argument.
2017-04-25 14:57:50 -05:00