Matthew Flatt
d93f4214a4
fix `compiler/zo-parse', etc. for phase-shift addition
2012-05-13 09:00:28 -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
0278b9e0af
fix bug in example code noted by Ray Racine
2012-05-12 22:10:10 -05: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
964020f288
implement scribble/srcdoc' via submodules instead of
expand'
...
Also add a `for-doc' require form, make `proc-doc' et al. provide
forms, make `provide/doc' an alias for `provide'.
2012-05-12 01:37:50 -06:00
Matthew Flatt
1432912357
racket/draw: fix outline adjustment in `draw-rectangle' and others
2012-05-12 00:55:12 -06:00
Matthew Flatt
dbd940611e
allow #f as shift for `syntax-shift-phase-level'
2012-05-12 00:55:12 -06:00
Robby Findler
329d3bb3c8
add some example code showing how to bind a menu to a key via the keymaps
2012-05-11 07:13:55 -05: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
Matthew Flatt
2d027e7ee5
scribble/eval: add eval:result' and
eval:results'
2012-05-09 19:11:21 -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
Eli Barzilay
d04920c032
(Try to) Fix the section that talks about `apply' and keyword arguments.
...
Closes PR 12438.
2012-05-08 21:18:15 -04:00
Eli Barzilay
99f87cf72b
Remove prose infelicity.
...
(Reported by Shriram a while ago.)
2012-05-08 21:18:15 -04:00
Eli Barzilay
6dfcf68a12
Fix a typo.
...
Closes PR 12456.
2012-05-08 21:18:15 -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
Ryan Culpepper
6c6fa36c8c
add srfi links
2012-05-07 14:46:13 -06:00
Robby Findler
5996e8f480
finish up struct/dc
2012-05-07 10:36:44 -05:00
Robby Findler
64603d0c27
adjust the opter protocol so that opters can say either: "yes this is
...
a chaperone contract", "no it definitely isn't" or "evaluate this code
at runtime to find out"; previously only the first two options
were available to opters
(this commit also includes other tweaks here and there so won't stand alone)
2012-05-07 10:36:44 -05:00
Robby Findler
04017d83d5
start adding struct/dc contracts
2012-05-07 10:36:39 -05:00
Eli Barzilay
8605c91ccf
Minor typo
...
(Reported by Shriram a while ago.)
2012-05-06 05:38:03 -04:00
Matthew Flatt
b30374824a
racket/draw: add #:eventspace' argument to
open-output-text-editor'
...
The argument is `(curent-eventspace)' by default, which makes ports
work better with threads.
Closes PR 12749
2012-05-05 10:32:05 -06:00
Matthew Flatt
48f7ddafe4
racket/gui: fix some concurrency problems `text%'
...
Changed `open-output-text-editor' to put its additions into
an edit sequence to better work with threads.
Fixed problems in editor-canvas refresh and resize events, where
the editor's refresh synchronization wasn't used properly.
Fixed race conditions in the the protocol that is used to separate
refreshes and edit sequences.
Related to PR 12749
2012-05-05 10:32:05 -06:00
Asumu Takikawa
6f4ad1de25
Add contracts to interface syntax & structures
2012-05-04 17:24:55 -04:00
Jose Antonio Ortega Ruiz
6f0e79feff
Fixes for trivial typos in Reference sec. 1.2.
...
(Eli: Ancient commit on the mailing list that wasn't merged... Most
things were already fixed.)
Signed-off-by: Jose Antonio Ortega Ruiz <jao@gnu.org>
2012-05-04 17:24:07 -04:00
Asumu Takikawa
f3b687c8ed
Add contract-add-context to contract system.
...
This procedure is used to add blame contexts to an
existing contract. This prevents the need to re-create
the contract in order to add blame contexts.
2012-05-04 02:52:46 -04:00
Matthew Flatt
4292c6e037
fix docs for `box-cas!', fix JITted version to check mutability
2012-05-03 21:38:36 -06:00
Matthew Flatt
23d46620f2
documentation tweaks
2012-05-03 19:22:46 -06:00
Aaron Turon
868dcb6d57
Add box-cas!' and
unsafe-box*-cas!'.
...
These primitives atomically update a box to a new value, as long
as the current value is the same as a provided value. They also
are future-safe.
When futures are enabled, they use low-level hardware instructions
to perform the change atomically.
2012-05-03 19:19:24 -06:00
Matthew Flatt
5ffb9389ac
fix `raco setup' for splicing collections
...
Closes PR 12676
2012-05-03 11:11:38 -06:00
Matthew Flatt
1b0f6cc995
doc repair
...
Closes PR 12708
2012-05-03 11:11:38 -06:00
Robby Findler
f2816e72b4
fix proc-doc/names documentation
...
closes PR 12739
2012-05-03 11:36:09 -05:00
Eli Barzilay
ed2b579e3c
Fail early on a non-pair input to `list-ref'.
...
There's no index that works with non-pairs, and the generic error
message in such cases is confusing.
Closes PR12740.
2012-05-03 10:24:05 -04:00
Eli Barzilay
1eed0c3d92
Improve the windows text a bit.
2012-05-03 10:24:05 -04:00
Asumu Takikawa
efc581e831
Revise Getting Started based on feedback.
2012-05-02 22:59:06 -04:00
Matthew Flatt
68e005fb2c
racket/draw: make-immutable-{color,brush,pen} => make-{color,brush,pen}
...
Also, use keywords for `make-pen' and `make-brush'.
Adding `make-pen' and `make-color' creates many conflicts among
teaching libraries, such as `2htdp/image'. These are easy to fix
up in the tree, but adding such obvious names to `racket/draw'
may create other compatibility problems, so we might have to reconsider
the names.
In consultation with Asumu.
2012-05-01 21:04:40 -06:00
Asumu Takikawa
8db45eb557
Add immutable constructors for color%, brush%, pen%
...
- Make set-immutable a local method and document
is-immutable? as a public method
- Add some racket/draw tests
2012-05-01 21:20:52 -04:00
Asumu Takikawa
3db6d1c5b2
Fix REPL hyperlink in Getting Started.
2012-05-01 15:20:28 -04:00
Asumu Takikawa
1406354869
Update Getting Started page.
2012-05-01 14:57:47 -04:00
Asumu Takikawa
db02ad9b75
Add pointers to the Guide in Reference docs.
2012-05-01 14:57:14 -04:00