Commit Graph

1764 Commits

Author SHA1 Message Date
Asumu Takikawa
a9201f68dd Fix typo
Related to PR 13241
2012-11-19 16:29:56 -05:00
Matthew Flatt
0f5308514a fix docs for `time'
The `time' form allows multiple forms and as an internal-definition
context.
2012-11-19 09:38:58 -07:00
Matthew Flatt
a4b5336709 doc clarification on `set-rest' 2012-11-16 06:37:23 -07:00
Matthew Flatt
5400b41bce add `unsafe-cons-pair'
Also, make `list?' more optimistic about checking is  the "is list?"
flag on a pair.
2012-11-14 19:17:42 -07:00
Kevin Tew
06bc6d7883 Places documentation clarification 2012-11-13 10:21:52 -07:00
Kevin Tew
d269817a60 typo fixes 2012-11-13 10:11:50 -07:00
Danny Yoo
48683c4782 Add comment about procedure-rename in inferred value names.\nSuggested by Jos Koot. 2012-11-12 09:55:46 -07:00
Matthew Flatt
50af874a7a document `define-runtime-path' limitation
Also, log a warning when it is used in a position where it
doesn't work rght with the executable creator. I didn't make
this case an error, because `define-runtime-path' can still
work in that case as long as no standalone executable needs
to be created.
2012-11-11 09:38:16 -07:00
Claire Alvis
2f426943f0 Implementation of #:defaults keyword for define-generics 2012-11-09 20:14:56 -05:00
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Eli Barzilay
14d8c8b5a5 Newlines at EOFs. 2012-11-06 14:07:15 -05:00
Danny Yoo
0fa78a8cee documentation: removing the korean characters out of the example. Was breaking the build at LaTeX generation time. 2012-11-04 18:20:54 -07:00
Asumu Takikawa
27aa999446 Fix docs on continuation barriers
Closes PR 13085
2012-11-02 18:30:47 -04:00
Danny Yoo
dcf4d8b040 adding close-eval at the end of scribble files that have a toplevel evaluator 2012-11-01 15:32:53 -06:00
Danny Yoo
354a71b080 documentation: adding examples for string input. 2012-11-01 14:32:12 -06:00
Danny Yoo
b9a0eaf5da Adding an example for equal<%> 2012-10-31 15:31:50 -06:00
Matthew Flatt
d7bf677645 track import "shapes" as procedure or structure type
Shape information allows the linker to check the importing
module's compile-time expectation against the run-time
value of its imports. The JIT, in turn, can rely on that
checking to better inline structure-type predicates, etc.,
and to more directy call JIT-generated code across
module boundaries.

In addition to checking the "shape" of an import, the import's
JITted vs. non-JITted state must be consistent. To prevent shifts
in JIT state, the `eval-jit-enabled' parameter is now restricted
in its effect to top-level bindings.
2012-10-30 13:29:28 -06:00
Ryan Culpepper
832d90bf93 fix doc typo
closes PR 13216
2012-10-30 12:43:41 -04:00
Robby Findler
b7681e0807 adjust racket/engine so that it logs the time that various things happen
(and remove the commented out printfs that seem to be printing
out that same information)
2012-10-29 06:45:12 -05:00
Danny Yoo
47a33f2edf Added another example for for/fold/derived: for/max.
Updated example for for/digits to avoid confusion: it's not clear
otherwise that the intentional syntax error wasn't just a casual
mistake.

Added an example for sequence-add-between.
2012-10-28 16:36:00 -06:00
Asumu Takikawa
0d30c43a68 Add call/cc contracts to prompt-tag/c 2012-10-27 11:06:17 -04:00
Matthew Flatt
b239a29544 doc repair
Looks like it was an accidental incorrect update

Merge to v5.3.1
2012-10-24 17:03:35 -07:00
Asumu Takikawa
862fd346c7 Doc typo 2012-10-19 15:06:46 -04:00
Eli Barzilay
47a68197b6 Tidy things up. 2012-10-17 15:05:42 -04:00
Danny Yoo
18753621e1 adding examples for sequences 2012-10-17 15:05:42 -04:00
Matthew Flatt
04e8689a9b add another argument to `{chaperone,impersonate}-prompt-tag'
The new argument gets to chaperone/impersonate a guard at
the prompt, and it is applied when the continuation is applied ---
based on a wrapper on th prompt tag of the continuation (as opposed to
the prompt tag of the prompt).
2012-10-17 10:24:09 -06:00
Matthew Flatt
843c722146 add an argument to `{chaperone,impersonate}-prompt-tag'
The new argument gets to filter results that come from a
non-composable continuation that replaces one delimited
by a prompt using the chaperoned/impersonated prompt tag.
2012-10-16 15:11:50 -04:00
Asumu Takikawa
0eb85a1dfe Add Guide pointers to Refs on exceptions & control 2012-10-16 01:31:20 -04:00
Eli Barzilay
d67396cbb1 Minor pickinesses. 2012-10-15 15:03:53 -04:00
Michael Wijaya
4bf94de5f5 Added examples to string-ports document
In cooperation with Xiangqi Li and Kevin Tew
2012-10-14 17:01:22 -04:00
Asumu Takikawa
df594d3b3b Move define/match to racket/match 2012-10-14 14:39:36 -04:00
Kevin Tew
40ca07ee7c [Distributed Places] use racket -lm to launch new racket nodes instead of -tm 2012-10-09 14:29:44 -06:00
Matthew Flatt
38a49c89b9 doc improvement 2012-10-01 07:14:46 -06:00
Matthew Flatt
9047427e07 further improvements to source locations for `require' forms 2012-10-01 07:14:46 -06:00
Matthew Flatt
259a2b8c19 doc repair 2012-10-01 07:14:46 -06:00
Sam Tobin-Hochstadt
3b37d64936 Document ~e from racket/format. 2012-09-27 18:29:55 -04:00
Asumu Takikawa
646552b2c4 Reference: fix interface example typo 2012-09-25 01:48:56 -04:00
Matthew Flatt
5dcebb86ac change `stream-append' to use its last argument as the result tail
Closes PR 13130
2012-09-20 17:49:50 -06:00
Matthew Flatt
e68db772b2 fix grammar for fully expanded submodules 2012-09-19 06:02:44 -06:00
Ryan Culpepper
d70e80e837 racket/format: change ~r to accept #:notation argument
Another possibility would be
  #:exponential? (or/c boolean? (-> rational? boolean?))
but that violates the "everything's a boolean" convention.
2012-09-16 17:12:02 -04:00
Matthew Flatt
fc52248446 add #:break' and #:final' to `for' forms
Support for break clauses complicates expansion to `for/fold/derived';
a new `syntax/for-body' library provides a helper for macros that need
to split a `for'-style body into a prefix part and wrappable part.
2012-09-14 14:57:35 -06:00
Matthew Flatt
c28d3190b2 doc fix for `in-producer' 2012-09-14 13:03:06 -06:00
Matthew Flatt
adb5c01ac4 racket/generator: add optional #:arity' clause to in-generator'
Allows the use of `in-generator' to produce multiple values in a
position other than immediately within `for' (where the arity
can be inferred).

Closes PR 11662
2012-09-14 13:02:55 -06:00
Matthew Flatt
ade2d7a4a4 minor doc fixes 2012-09-13 14:17:14 -06:00
Asumu Takikawa
e71caa5d06 Fix doc contracts for continuation aborts 2012-09-13 14:48:46 -04:00
Matthew Flatt
6b7acd187b reference: fix docs for Windows path cleansing 2012-09-13 11:05:52 -06:00
Matthew Flatt
ac5965a1dc racket/set: add set-first' and set-rest' 2012-09-12 17:57:03 -06:00
Matthew Flatt
4f351dd6b1 add `current-compiled-file-roots', PLTCOMPILEDROOTS, and -R/--compiled
The new parameter (and supporting environment variables and
command-line flags) can bytecode lookup to a tree other than
where a source file resides, so that sources and generated
compiled files can be kept separate. It also supports storing
bytecode files in a version-specific location (either with
the source or elsewhere).
2012-09-11 13:18:18 -06:00
Eli Barzilay
d88eef6bfb Some "@racket" fixes.
Two reported by Lee Duhem, and two more in other files.

Fixes PR 13092.
2012-09-08 15:17:04 -04:00
Matthew Flatt
a774cc93b9 move future-visualizer docs out of the Reference 2012-09-07 09:11:16 -06:00