Commit Graph

2902 Commits

Author SHA1 Message Date
Matthew Flatt
17504a960e more interning related to Scribble xref 2011-12-10 11:43:58 -07:00
Matthew Flatt
287d5cedf5 add `pseudo-random-generator-vector?'
Also, adjust docs to clarify that `vector->pseudo-random-generator!'
can be used as a more complete seeding function.
2011-12-09 09:12:17 -07:00
Matthew Flatt
f93c94f6ff add 'shift, 'control, 'rshift, and 'rcontrol events 2011-12-08 15:05:41 -07:00
Matthew Flatt
657be87c66 generalize gcd' and lcm' to work on rationals 2011-12-08 09:25:39 -07:00
Matthew Flatt
7e666b4b45 add stream' to racket/stream'
based on a pull request from Dan King
2011-12-08 09:25:34 -07:00
Neil Toronto
076453dacc Use bitmap' instead of icon->pict'
Rename `pict->icon' to `pict->bitmap' and put in `slideshow/pict'
2011-12-01 17:04:31 -07:00
Sam Tobin-Hochstadt
daf371059d Add link. Closes PR 9325. 2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
04b8962542 Fix doc mistake.
Close PR 9508.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
e9a045c695 Fix doc typo.
Related to PR 9501.
2011-12-01 16:54:52 -05:00
Sam Tobin-Hochstadt
6df35ce132 Fix doc typo.
Closes PR 12395.
2011-12-01 16:54:52 -05:00
Matthew Flatt
545b37ff0d add racket/performance-hint' with begin-encourage-inline' 2011-12-01 10:26:48 -07:00
Matthew Flatt
1bc2441b5a switch to syntax property for 'compiler-hint:cross-module-inline 2011-12-01 10:26:48 -07:00
Kevin Tew
958ad908ab place scrbl fix 2011-12-01 09:54:38 -07:00
Matthew Flatt
99032a75d0 inline map', for-each', andmap', and ormap'
More generally, support a
 (define _id (begin 'compiler-hint:cross-module-inline _proc-expr))
hint, which is how the compiler determines that `map', etc., are
candidates for inlining.
2011-12-01 06:59:27 -07:00
Robby Findler
7b9cb97654 eliminate the word "online" from the description of
"instant check syntax" in the docs
2011-11-30 16:55:54 -06:00
Matthew Flatt
779b419c03 first cut at cross-module function inlining
Inline only trivial functions, such as `(empty? x)' -> `(null? x)',
to avoid generating too much code.

Bytecode includes a new `inline-variant' form, which records a
version of a function that is suitable for cross-module inlining.
Mostly, the variant let the run-time system to retain a copy
of the bytecode while JITting (and dropping the bytecode of)
the main variant, but it may be different from the main variant
in other ways that make it better for inlining (such a less loop
unrolling).
2011-11-30 07:39:36 -07:00
Matthew Flatt
1ebde53db7 fix `compiler-sizeof' docs and error message 2011-11-30 07:39:36 -07:00
Robby Findler
458e2c2282 some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:' 2011-11-30 06:45:50 -06:00
Matthew Flatt
cb341e1f48 make in-sequences' and in-cycle' accept 0 sequences
Plus doc clarifications.
2011-11-28 13:51:24 -07:00
Robby Findler
d381c7b40b add the ability to pass a bitmap directly for the splash screen 2011-11-28 14:35:44 -06:00
Matthew Flatt
06a1d8eb27 typo
Closes PR 10828
2011-11-27 18:42:11 -07:00
Matthew Flatt
27db62c9c8 typo
Closes PR 10822
2011-11-27 18:40:18 -07:00
Matthew Flatt
5858585085 doc clarification
Closes PR 8460
2011-11-27 18:13:45 -07:00
Matthew Flatt
2b658fb1d4 doc clarification
Closes PR 8559
2011-11-27 18:02:26 -07:00
Matthew Flatt
a04272d245 fix typo and text duplication 2011-11-27 13:27:04 -07:00
Matthew Flatt
cba6323e8c doc correction
Closes PR 11959
2011-11-27 11:50:22 -07:00
Matthew Flatt
97b1a9358d fix typo 2011-11-27 11:29:45 -07:00
Matthew Flatt
b157ff2399 fix `#lang at-exp' spec and related
Closes PR 12174
2011-11-27 11:22:41 -07:00
Matthew Flatt
49802b7ba1 doc correction
Closes PR 12171
2011-11-27 11:14:58 -07:00
Matthew Flatt
a707b0c5f5 `syntax-id-rules' clarifications
Closes PR 12232
2011-11-27 11:11:28 -07:00
Matthew Flatt
e7ab46d505 doc repair
Closes PR 12281
2011-11-26 17:09:24 -07:00
Matthew Flatt
7adc61060d doc repair
Closes PR 12289
2011-11-26 17:09:24 -07:00
Matthew Flatt
1175964a78 reference clarifications on string ports
Closes PR 12365
2011-11-26 17:09:23 -07:00
Matthew Flatt
48d5d6fca3 guide clarification on arguments to `eval'
Closes PR 12345
2011-11-26 17:09:23 -07:00
Matthew Flatt
8d44010725 better guide entry on "comments"
Closes PR 12367
2011-11-26 17:09:23 -07:00
Matthew Flatt
567ee96c61 racket/draw: generalize "face" in a font% to be a description
Also add an option to `get-face-list' so that it can actually
return faces, instead of just families.
2011-11-26 08:48:35 -07:00
Matthew Flatt
1ac7e7e19d racket/class: add `dynamic-send' 2011-11-25 13:22:05 -07:00
Matthew Flatt
d421ed1bb6 racket/class: add `send/keyword-apply' 2011-11-25 13:19:42 -07:00
Robby Findler
e0ea64c758 rename contract-generate to contract-random-generate 2011-11-25 09:09:18 -06:00
Matthew Flatt
aab4260127 generalize brush transformation to apply to a stipple 2011-11-24 11:14:54 -07:00
Matthew Flatt
fe3b6ea003 at-exp, scribble: remove distinctness of @{}-introduced newlines 2011-11-24 09:17:34 -07:00
Robby Findler
b7d2d5da62 Some small cleanups of Andy's contract generator code 2011-11-23 22:54:21 -06:00
Andy Gocke
b8847a53bf Started on random testing for contracts 2011-11-23 22:54:21 -06:00
Matthew Flatt
6a99c93ebb add get-colors' to color-database<%>' 2011-11-22 20:17:58 -07:00
Vincent St-Amour
597f310e89 Fix typoes in the raco docs. 2011-11-22 17:52:49 -05:00
Matthew Flatt
e44bd3f79d intern literal strings, byte strings, regexps, characters, and numbers 2011-11-22 08:54:37 -07:00
Asumu Takikawa
283d91be7d Fix typos in reference. 2011-11-16 02:09:05 -05:00
Matthew Flatt
3bffcae3c2 fix places & executable interaction
Added `module-predefined?' and changed `racket -k ...'
2011-11-15 18:42:21 -07:00
Matthew Flatt
f6df62e501 remove junk file 2011-11-14 17:57:11 -07:00
Sam Tobin-Hochstadt
591dcc4a27 Add prop:match-expander' and prop:legacy-match-expander'. 2011-11-14 11:03:22 -05:00