Commit Graph

1329 Commits

Author SHA1 Message Date
Matthew Flatt
b560fc83aa fix taint behavior of some syntax operations
`syntax-local-get-shadower' and
 `syntax-make-delta-introducer' both taint their
 results when a given syntax object is tainted
(cherry picked from commit 4307bcace5)
2011-07-19 11:13:20 -04:00
Matthew Flatt
e1dbfe67e3 remove obsolete reference to '#%mred-kernel
(cherry picked from commit 1c4722eaee)
2011-07-18 12:43:06 -04:00
Matthew Flatt
c4ca803955 fix typo; eliminate "this" as a noun; otherminor improvements
(cherry picked from commit 5e5172baab)
2011-07-18 12:43:03 -04:00
Vincent St-Amour
be3aa544ad Fix unbalanced curly brackets.
(cherry picked from commit 937d0ad722)
2011-07-18 12:42:49 -04:00
Eli Barzilay
225f563bda Add a new #:dont-re-require-enter' flag for enter!', to avoid
requiring itself into the entered namespace.

This makes it useful in some cases where this require leads to a
dependency cycle, eg (enter! racket/list).  It's obviously not useful
for use as-is, since you will not have a bound `enter!' to get out of
the namespace (and possibly no `require' to get it) -- but it is useful
for meta-tools like xrepl.  This is why the flag is verbose.  `xrepl'
now uses this flag.

Also, the check for valid keywords for the form is now done at runtime
rather than in the macro.  This doesn't matter in this case, since the
form is intended for interactive use anyway.

Also, separate the two parts of `enter-load/use-compiled' (it was
defined curried, but didn't use it).
(cherry picked from commit db7f2b4542)
2011-07-18 12:42:42 -04:00
Ryan Culpepper
fe3ee8cbc5 removed merge conflict artifact
Merge to release branch
(cherry picked from commit 73230537ba)
2011-07-11 14:55:10 -04:00
Matthew Flatt
a7deb516f7 minor doc style corrections 2011-07-04 16:48:25 -06:00
Matthew Flatt
850b85cbdb add some cross-references 2011-07-04 16:26:09 -06:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
dca102a7f1 document place termination better
e.g., the fact that the exit handler is set in a place
2011-07-01 09:30:11 -06:00
Kevin Tew
c6c1f9d533 Fixed missing bracket 2011-06-30 16:53:45 -06:00
Kevin Tew
7bd4ba9b11 place-dead-evt docs 2011-06-30 15:52:29 -06:00
Kevin Tew
c3059f7e82 place-dead-evt 2011-06-30 10:02:21 -06:00
Matthew Flatt
1160d3df62 remove syntax certificates; add syntax taints 2011-06-29 19:15:48 -06:00
Eli Barzilay
a38f384a00 Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Danny Yoo
741361d413 adding example for exns
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-06-23 11:54:22 -04:00
Matthew Flatt
3daf61f605 dc clarification on `thread-suspend' 2011-06-20 14:46:14 -06:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
f34a31cac9 "under <platform>" -> "on <platform>"; "X" -> "Unix"
I originally picked "under" as the preposition to go before
 a platform name, but obviously you should build "on" a
 platform, and "under" suddenly annoys me. The choice of "on"
 is now codified in the documentation style guide. Meanwhile,
 "Unix" insted of "X" seems more clear and consistent in the
 `racket/gui' docs.

 More usefully, this patch also fixes a few out-of-date
 platform-specific claims.
2011-06-17 18:54:43 -06:00
Matthew Flatt
b1e47eba45 add `place-message-allowed?' and fix related problems
Closes PR 11983
2011-06-17 10:33:27 -06:00
Matthew Flatt
56423f330e `procedure-arity-includes?' reports #f for keyword-requiring procs
by default; a new optional argument restores the old behavior
  (but the default behavior is consistent with the old docs and with
  the vast majority of existing uses)

 The implementation is ugly for performance reasons. A new primitive
  `prop:arity-incomplete' property determines when to return #f for
  `procedure-arity-includes?' in default mode. A nicer implementation
  would be to redefine `procedure-arity-includes?' at the kw-proc level,
  but the bytecode optimizer's and JIT's treatment of the built-in
  `procedure-arity-includes?' is important. The implementation choice
  could be revisited after cross-module inlining is implemented.

 Closes PR 11978
2011-06-16 12:36:16 -06:00
Matthew Flatt
83d002a9aa fix interaction of `port-commit-peeked' and port positions
--- includes a small hack to the `make-input-port' protocol
     to specially handle a byte-string result as "true"
     from the `commit' proc
2011-06-16 08:17:14 -06:00
Sam Tobin-Hochstadt
d5b25eb500 Document match-lambda**' and match[*]/derived' 2011-06-15 18:11:41 -04:00
Eli Barzilay
c0051518be Fix `{user,group,other}-{read,execute}-bit' (in the docs too).
Make the launcher template copying code try to ensure that all user
access bits are on.
2011-06-14 21:27:36 -04:00
Eli Barzilay
be84425bd0 Rewrite compose' and add compose1'.
The new version fixes some problems with the previous one, most notably
it can create a keyworded function when the last input is is keyworded.
`compose1' is a restricted variant that requires single values in the
composed pipeline -- besides being potentially faster (probably more
if/when there is cross module inlining), it has a semantical
justification, similar to the restricting function call arguments to
return single values, with similar robustness benefits.  The
implementation of both is done in a generalized way, and the results can
be faster for both `compose' and `compose1'.  (Not by much -- 20% and
30% resp.)

One thing that it could do is to reduce the resulting arity to match the
last given function.  I didn't do this since it adds a significant
overhead to the result.  (No strong opinion on doing that...)
2011-06-14 19:02:30 -04:00
Asumu Takikawa
ed590b8ec5 Fix GUI and Reference doc typos 2011-06-13 17:57:21 -04:00
Asumu Takikawa
01a987bf5e Use a real contract instead of imaginary for sleep 2011-06-13 12:09:52 -04:00
Kevin Tew
939f0b1c0b rename place-dynamic to dynamic-place 2011-06-11 15:36:16 -06:00
Matthew Flatt
80c4396dc1 JIT-inline struct type property predicates and accessors 2011-06-11 08:35:34 -07:00
Kevin Tew
1473b7775f Places: rename place and place/anon 2011-06-10 11:07:01 -06:00
Matthew Flatt
460504c852 add #:unless' to for' 2011-06-10 06:21:35 -07:00
Kevin Tew
f88c0bbe80 Places: Missed some send receive renames 2011-06-10 06:38:13 -06:00
Kevin Tew
21f7109204 Places: rename send receive to put get 2011-06-09 23:48:55 -06:00
Eli Barzilay
40a88b6037 Fix TR docs wrt to `racket/function' change, close evaluators, fix
copy/paste typo in `thunk' docs.
2011-06-07 13:07:46 -04:00
Eli Barzilay
313e4e75fc Better section heading 2011-06-07 03:40:13 -04:00
Eli Barzilay
17b6ffa731 Move thunk' from unstable/function' into `racket/function'.
Actually, the new `thunk' is a nullary function, which I think is very
popular expectation for the name.  Since there are possible uses for the
any-arity version, it's added too, as `thunk*'.
2011-06-07 03:38:06 -04:00
Eli Barzilay
a70ef57f02 Move identity' from unstable/function' into `racket/function'. 2011-06-07 03:38:06 -04:00
Matthew Flatt
b24c387dde add PLTDISABLEGC environment variable 2011-06-02 16:20:20 -07:00
Carl Eastlund
c8600f01a1 Added examples to documentation for for/fold/derived, for*/fold/derived,
define-sequence-syntax, and :do-in.
2011-06-02 16:10:23 -04:00
Vincent St-Amour
c32efa727c Document with-intercepted-logging. 2011-06-01 16:11:11 -04:00
Carl Eastlund
5582f7591f Replaced an outdated reference to syntax-object->datum with syntax->datum. 2011-06-01 01:47:23 -04:00
Matthew Flatt
a7ae3b807e fix docs for `multi-in'
because the previous documentation didn't actually define the form;
 the examples were good, but epecting a reader to infer meaning
 from examples wasn't good enough. The use of a `module-path?' contract
 in the old docs wasn't appropriate; contracts apply to values, while
 grammar productions should be used to document syntax constraints.
 Also, `module-path?' was too permissive (only literal strings and
 identifiers are actually allowed), while the actual syntax allows
 either a single path or a sequence.
2011-05-30 08:49:46 -06:00
Matthew Flatt
bbfeb85440 mak argument to `make-immutable-hash' optional 2011-05-30 07:38:57 -06:00
Matthew Flatt
f3e1cf10aa change `hash-count' to take the lock; fix docs 2011-05-30 07:38:57 -06:00
Vincent St-Amour
48b5725b2e Document extension to multi-in. 2011-05-26 11:56:31 -04:00
Vincent St-Amour
c3da0babb7 sub-in -> multi-in 2011-05-26 11:56:31 -04:00
Asumu Takikawa
7f143f03ed Add impersonator-contract? along with docs/tests.
The impersonator-contract? function checks if its argument is
a contract that is neither flat nor a chaperone contract.
2011-05-26 00:37:05 -04:00
Vincent St-Amour
2cddccfe7e Improve docs for sub-in. 2011-05-24 16:53:52 -04:00