Commit Graph

1449 Commits

Author SHA1 Message Date
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
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
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
cb341e1f48 make in-sequences' and in-cycle' accept 0 sequences
Plus doc clarifications.
2011-11-28 13:51:24 -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
b157ff2399 fix `#lang at-exp' spec and related
Closes PR 12174
2011-11-27 11:22:41 -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
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
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
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
Sam Tobin-Hochstadt
591dcc4a27 Add prop:match-expander' and prop:legacy-match-expander'. 2011-11-14 11:03:22 -05:00
Sam Tobin-Hochstadt
81dd112f57 Move ==' to racket/match'. 2011-11-14 11:03:22 -05:00
Robby Findler
870c8d28f4 move predicate/c from unstable/contract to racket/contract. In process,
change the implementation to special case struct procedures and to use
it in provide/contract.

This speeds up the rendering phase of the Guide documentation by more than 2x.
Thanks to Matthew for spotting the opportunity!
2011-11-13 17:19:15 -06:00
Matthew Flatt
5139de9cec add `port-closed-evt' 2011-11-10 10:01:57 -07:00
Danny Yoo
899bc0616b Adding an example for `define-match-expander'. 2011-11-04 11:16:35 -04:00
Robby Findler
d00aed6f1b fix the module reader for the case when there are non-ASCII unicode characters
in comments before the #lang line

also add an #:init-position argument to peeking-input-port
2011-11-03 17:13:17 -05:00
Eli Barzilay
90f7a98dd6 Fix the default `sandbox-make-code-inspector'.
It now creates an inspector based on the original code inspector instead
of the (implicit) wrong default used by `make-inspector'.  Change
`sandbox-make-inspector' too, to make it explicit.
2011-11-02 17:40:24 -04:00
Robby Findler
8edfd4e87e add docs for the #:stronger argument to the contract constructors
closes PR 12312
2011-10-31 16:59:19 -05:00
Robby Findler
48f9b8895c add documentation for racket/contract/base (also trim some
of the longer lines in the file)

closes PR 12311
2011-10-25 16:16:23 -05:00
Matthew Flatt
d4f7020cd2 add cross-reference between data and read/print descriptions
Closes PR 11096
2011-10-15 07:20:33 -07:00
Matthew Flatt
2a39a098a6 fix docs on reading characters
Closes PR 11102
2011-10-15 07:20:33 -07:00
Matthew Flatt
eba0ca2d4d add cross-ref from reference to guide on places 2011-10-15 07:20:33 -07:00
Matthew Flatt
e55e0a5e4a reader doc fixes
Closes PR 11086
2011-10-15 07:20:33 -07:00
Matthew Flatt
5c0956d7b1 more memory accounting fixes for places
Fix memory accounting to detect when messages pile up in a
place channel and when shared values (such as the result of
`make-shared-bytes') pile up. Also fix problems where a GC
or free-page purge needs to be triggered.

The implementation causes a minor API change, which is that
a place channel sent multiple times as a message generates
values that are `equal?' but no longer eq?'.

Closes PR 12273

[Do not merge to 5.2]
2011-10-11 11:26:11 -06:00
Matthew Flatt
5724aa1d1b doc clarifications
Merge to 5.2
2011-10-10 14:45:53 -06:00
Sam Tobin-Hochstadt
9cc2c441ee Add note on `match' semantics. 2011-10-06 18:32:05 -04:00
Matthew Flatt
ec380e34ed remove built-in reader and printing support for Honu
This is a backward-incompatible change, but I think it's
unlikely that any code depends on the removed bindings
or reader syntax.
2011-10-05 09:40:27 -06:00
Robby Findler
533b898277 clarify the role of the #:rest portion of the contract
closes PR 12244
2011-10-01 15:58:50 -05:00
Kevin Tew
e650764a4c place-channel? returns #t for place descriptors, doc clarification 2011-09-30 17:15:11 -06:00
Matthew Flatt
a0805f9b18 fix docs for `round' et al.
They don't return integers for +inf.0, -inf.0, and +nan.0.
2011-09-29 16:54:08 -06:00
Matthew Flatt
73071ad186 improve GC logging (3m)
Show process time of start of GC and otherwise adjust to make
the output more compact, and attach a prefab struct to the
logged message to report all available data in Racket form
(including real start and end times, which are not shown in
the output).
2011-09-29 16:54:08 -06:00
Matthew Flatt
ac8990d519 add date*' and exn:fail:syntax:unbound'
The `date*' structure type is an extension of `date' with
`nanosecond' and `time-zone-name' fields.

The `seconds->date' function now accepts a real and returns a
`date*'. The fractional part of its argument goes into the
`nanosecond' field.
2011-09-29 09:22:10 -06:00
Matthew Flatt
247a51d5bd change `get-preference' to treat read errors the same as other bad content
That is, return '(), but also now log an error.
2011-09-27 19:23:17 -06:00
Matthew Flatt
f9dabb8994 add -J/--wm-class argument to set the WM_CLASS class on Unix 2011-09-26 18:07:18 -06:00
Matthew Flatt
e226dd7e26 add `contract-out' 2011-09-24 22:30:56 +09:00
Matthew Flatt
9d27b21f91 add provide pre-transformers 2011-09-24 22:30:56 +09:00