Asumu Takikawa
a22633e348
Rename generics => generic.
2012-05-24 16:51:14 -04:00
Vincent St-Amour
11dc825126
Forge gen:equal+hash and gen:custom-write to provide them from racket/base.
2012-05-24 16:51:13 -04:00
Vincent St-Amour
3210cd1d12
Remove vestigial set of parens and fix docs for new syntax.
2012-05-24 16:51:12 -04:00
Vincent St-Amour
94bd484a66
Resolve collision between class generics and struct generics.
2012-05-24 16:51:12 -04:00
Vincent St-Amour
02055aa1b3
Add remark about auxiliary definitions in method blocks.
2012-05-24 16:51:12 -04:00
Vincent St-Amour
390cd02b52
Have a generic interface for equal+hash.
...
Currently provided by racket/struct, for lack of a better place.
2012-05-24 16:51:11 -04:00
Asumu Takikawa
8ac82eaf58
Use simplified interface for define-generics
...
Also removed `generics`
2012-05-24 16:51:09 -04:00
Vincent St-Amour
3bfaa2b00b
New naming convention for generics names.
2012-05-24 16:51:07 -04:00
Asumu Takikawa
f866e34b26
Expand documentation on sequence/stream extension
2012-05-24 16:51:06 -04:00
Asumu Takikawa
3a93df5566
Use racket/generics for extensions to racket/stream
2012-05-24 16:50:44 -04:00
Vincent St-Amour
991cb5f371
Hide #:coerce-method-table from the public generics API.
2012-05-24 16:50:43 -04:00
Vincent St-Amour
d5de436b9c
Add a pointer to generics in the struct property docs.
2012-05-24 16:50:42 -04:00
Vincent St-Amour
448ad27a37
Move generics to racket/generics.
...
After discussion with Eli.
2012-05-24 16:50:42 -04:00
Vincent St-Amour
17bb9073b9
Document new dict extensibility API.
2012-05-24 16:31:32 -04:00
Eli Barzilay
f55eba70c0
Just have string-replace' now, with an
#:all?' keyword (defaulting to #t).
2012-05-24 10:40:20 -04:00
Eli Barzilay
784857e9fa
Add `string-split'.
2012-05-24 10:40:20 -04:00
Eli Barzilay
dcf2754a57
Clarify `regexp-split' on an empty input.
...
The text that says that (regexp-split #rx"whatever" "") returns '("")
rather than '() is
If `input' contains no matches [...] the result is a list containing
input’s content [...] as a single element.
This is a little implicit, if you consider such an input as having
nothing left to match over so it's as if there is no input (with a port
this confusion is a little clearer).
Clarify with an example in the docs, and also add tests.
2012-05-24 10:40:20 -04:00
Eli Barzilay
29beae55c1
Redo string-trim' and
string-normalize-spaces'.
...
This is following the mailing list discussion. In addition get
`string-join' more in-line with these by making its `sep' argument
default to a space.
2012-05-24 10:40:20 -04:00
Asumu Takikawa
b50a2c7518
Add documentation for abstract clause.
2012-05-22 15:59:16 -04:00
Kevin Tew
83c26eef4b
[Distributed Places] a few of Eli's documentation suggestions
2012-05-20 22:50:58 -06:00
Matthew Flatt
2d7521c78c
racket/place/distributed: fix doc problems
...
Various repairs --- especially to avoid duplicated prose.
Instead of
@(define explain @t{Long explanation about X...})
@defproc[(a ....) ....]{ .... @|explain| }
@defproc[(b ....) ....]{ .... @|explain| }
@defproc[(c ....) ....]{ .... @|explain| }
write
@defproc[(a ....) ....]{ .... Long explanation about X ... }
@defproc[(b ....) ....]{ .... X is like @racket[a]. }
@defproc[(c ....) ....]{ .... X is like @racket[a]. }
Otherwise, a reader is forced to reverse-engineer the
abstraction underlying `a', `b', and `c'.
2012-05-20 14:11:17 -06:00
Matthew Flatt
a39d16fab4
doc layout repair
2012-05-20 07:39:05 -06:00
Matthew Flatt
b7d5aed8d7
add "alias" and "converted-arguments-variant" properties
...
The properties appear in the inlining expansion of an application
of a keyword-accepting function, and they're mainly intended for
use by Typed Racket.
The property keys are hidden, so that the property value can be
trusted as originating from `racket/base'. The accessor functions are
`syntax-procedure-alias-property' and
`syntax-procedure-converted-arguments-property' from
`racket/keyword-transform'.
2012-05-17 10:58:22 -06:00
Matthew Flatt
3fbbf7cf94
add note about find-executable-path' to
subprocess', etc.
2012-05-16 09:43:23 -06:00
Matthew Flatt
65313a82a7
add a #:build?' argument to
directory-list'
2012-05-16 09:43:23 -06:00
Matthew Flatt
9270936a28
instantiate require'd modules in the order that they are
require'd
...
This order is now specified, whereas the order was previously unspecified,
and the previous reverse order was an artifact of the implementation.
2012-05-16 07:12:27 -06:00
Robby Findler
3fceae2715
adjusted the contract error messages so that the words expected/promised
...
are switched in and out based on the sense of the blame (similar to a recent
change that made given/produced swap in and out)
2012-05-15 22:08:42 -05:00
Matthew Flatt
b5ce4f281d
fix example
...
Closes PR 12723
2012-05-15 20:11:42 -06:00
Matthew Flatt
e35337dcfd
add `relative-in'
2012-05-15 20:03:41 -06:00
Matthew Flatt
1067aa59e3
fix docs for `syntax-local-module-exports'
2012-05-14 21:57:10 -06:00
Matthew Flatt
0653d1c966
add `syntax-local-submodules'
2012-05-14 21:57:09 -06:00
Matthew Flatt
1bf1564f90
add `variable-reference->module-path-index'
2012-05-14 21:57:09 -06:00
Kevin Tew
fbbf8579e0
[Distributed Places] Docs clean up part 2
2012-05-14 14:58:40 -06:00
Matthew Flatt
84d1c6dc06
remove sfi links from the Reference
...
In consultation with Ryan. We'd prefer to have versions of all
useful things in a `racket/...' library that is consistent as
possible with Racket forms and conventions.
2012-05-13 06:57:44 -06:00
Matthew Flatt
906180ebe8
doc edits
2012-05-13 06:57:44 -06:00
Matthew Flatt
1d1f4dfc3c
fix docs on `prop:{require,provide,provide-pre}-transformer'
2012-05-13 06:57:44 -06:00
Matthew Flatt
45659b0cc1
fix doc example
...
Closes PR 12768
2012-05-13 06:57:44 -06:00
Robby Findler
52fa588f7a
deprecate define-contract-struct (also fix a broken require in the contract docs)
2012-05-12 22:10:04 -05:00
Matthew Flatt
bfbccb918d
fix reference to non-existant private contract module
2012-05-12 01:37:51 -06:00
Matthew Flatt
dbd940611e
allow #f as shift for `syntax-shift-phase-level'
2012-05-12 00:55:12 -06:00
Kevin Tew
4c59943b0d
[Distributed Places] Remove caps and camelcase
2012-05-10 19:58:52 -06:00
Kevin Tew
154a96ab1f
[Distributed Places] Docs clean up part 1
2012-05-10 15:36:58 -06:00
Kevin Tew
076e698e8c
[Distributed Places] RMPI docs
2012-05-10 15:36:58 -06:00
Kevin Tew
c619f7cbbf
[Distributed Places] more docs, removed old functions, RMPI function renames
2012-05-10 15:36:58 -06:00
Eli Barzilay
7738f21a5b
Move the srfi references to the section ends.
2012-05-09 04:11:17 -04:00
Eli Barzilay
f1a7517ab6
Adds note about `system*' output.
...
(Slightly revised by Eli.)
2012-05-09 03:48:55 -04:00
Michael W
267a009e03
Adds note about system* output. UNTESTED
2012-05-09 02:46:33 -04:00
Asumu Takikawa
a8994c7261
Revert "Add contract-add-context to contract system."
...
This reverts commit f3b687c8ed
.
After discussion with Robby and Stevie, we concluded that
this procedure isn't necessary for now. If we ever think
of more examples where it's useful we can bring it back.
2012-05-08 12:58:49 -04:00
Matthew Flatt
9a41129c69
racket/flonum: add `flexpt'
2012-05-07 20:41:14 -06:00
Ryan Culpepper
eb3dce14cd
fix some doc contracts for submodules
2012-05-07 14:46:13 -06:00