Eli Barzilay
187110cc2c
Change default temporary format from "mztmp~a" to "rkttmp~a".
2011-08-29 20:53:57 -04:00
Robby Findler
d4f4f754f1
make make-temporary-file use the source location for its template argument
...
(This involves making make-temporary-file be a macro instead of a procedure.)
2011-08-29 19:36:33 -05:00
Matthew Flatt
2d1b0172fb
move Reference reader & prnter docs to the model chapel
...
instead of having those sections buried in the I/O chapter
2011-08-28 18:15:43 -06:00
Matthew Flatt
4f83f7f279
allow phase 1+ references to not-yet-defined bindings
...
For example,
(define-for-syntax (f x) (g x))
(define-for-syntax (g y) y)
is now allowed. The unbound-variable check for phase 1
and up is delayed until after the module body is partially expanded.
2011-08-28 10:27:31 -06:00
Matthew Flatt
b628ae8424
remove leftover tmp file during reference build
2011-08-28 07:50:41 -06:00
Robby Findler
8fd388fde1
adjust put-preferences docs to match implementation
2011-08-27 16:41:34 -05:00
Matthew Flatt
85790b6611
improve description of andmap' and
ormap'
...
Based on suggestions from Dan Grossman and Ryan Culpepper
2011-08-26 10:03:53 -06:00
Matthew Flatt
290fe066b6
add optional argument to weak-box-value' and
ephemeron-value'
2011-08-26 06:24:34 -06:00
Matthew Flatt
ce7c0d62c3
if only a Unix root is shared, don't make a path relative
2011-08-24 20:08:20 -06:00
Matthew Flatt
ec29a2d85c
add `use-collection-link-paths'
2011-08-24 20:08:19 -06:00
Matthew Flatt
84e3ab2a20
add support for collection roots to the collection links file
2011-08-24 20:08:19 -06:00
Kevin Tew
5a30aa89eb
Allow TCP sockets and file ports to be communicated across places
2011-08-24 14:33:54 -06:00
Matthew Flatt
a7855e20a8
add `raco link'
...
includes a rewrite the "Module Basics" section of the Guide
2011-08-24 09:07:14 -06:00
Kevin Tew
f85c73f83d
change evt? to handle-evt?
2011-08-23 14:02:01 -06:00
Kevin Tew
0f595f4882
docs cpointers over place-channels
2011-08-23 14:02:01 -06:00
Eli Barzilay
a0baee8ab9
Sandbox fixes
...
* When `accept-lang?' is #t turn the reader flag on, but otherwise don't
change it
* turn on the `read-accept-reader' flag which is needed after all
* two refactoring typos
* some more reformatting
2011-08-20 16:14:01 -04:00
Eli Barzilay
da3c6c9be2
Set read-accept-lang' to #t when reading a module in
make-module-evaluator'.
...
Also, some reformatting including uses of `define'.
2011-08-20 06:12:55 -04:00
Jon Rafkind
47d613f4ec
add 'exit-code as an available symbol to the status procedure returned by process
2011-08-19 17:12:13 -06:00
Matthew Flatt
2606c59a29
fix `call-with-file-lock/timeout' example
2011-08-19 15:58:05 -06:00
Matthew Flatt
11f5c84493
fix make-lock-file-name'; add
path-element?'
2011-08-19 15:46:44 -06:00
Matthew Flatt
ab477b958c
fix reader graph-notation equivalence
2011-08-18 12:54:52 -06:00
Sam Tobin-Hochstadt
52fb1e3460
Add more elements to the list of things that are events.
2011-08-16 18:10:02 -04:00
Vincent St-Amour
d05f138ed2
Add precision to sequence-fold's doc.
2011-08-16 12:09:39 -04:00
Eli Barzilay
d61eb53686
Lots of documentation formatting.
...
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Matthew Flatt
1c04cf1b02
make `port-try-file-lock?' work for Solaris
...
Shared locking now allowed only on input port, and exclusive
locking is allowed only on output ports, which allows an implementation
via fcntl(...,F_SETLK,...).
2011-08-11 13:11:26 -06:00
Robby Findler
997813680d
change the #:get-lock-file argument of call-with-file-lock/timeout to #:lock-file
2011-08-11 09:29:31 -05:00
Robby Findler
78a999537d
clean up the contract checking for call-with-file-lock/timeout
2011-08-11 09:29:30 -05:00
Asumu Takikawa
f818405dee
Fix typo.
2011-08-10 01:28:34 -04:00
Matthew Flatt
5352d670c4
generalize #%variable-reference' and add
variable-reference-constant?'
...
Use the new functions to make the expansion of keyword applications
to known procedure work with mutation.
2011-08-09 16:33:17 -06:00
Matthew Flatt
39a96dd699
add `prop:liberal-define-context'
2011-08-09 16:33:16 -06:00
Robby Findler
d3f1bed4ae
add missing sentence fragment
2011-08-09 14:07:49 -05:00
Eli Barzilay
b644e335d9
Fix the docs for `call-in-sandbox-context'.
...
Closes PR 12081.
2011-07-30 09:33:24 -04:00
Matthew Flatt
b78a1a8355
remove abbreviations for for/sum' and
for/product'
2011-07-27 07:55:20 +01:00
Matthew Flatt
7123996b30
change `eval-jit-enabled' initialization
...
to reflect whether JIT compilation is supported by the build
(i.e., set it to #f initially when the JIT is not supported)
2011-07-27 07:55:05 +01:00
Matthew Flatt
f1160da419
add for/sum',
for/product', etc.
2011-07-27 05:47:46 +01:00
Stevie Strickland
01396784c9
Fix set/c to conform to hash/c-like restrictions.
...
Since sets are implemented using the elements as the domain of a hash table,
the following must be true:
* element contracts for (seteq ...) must be flat
* element contracts for (seteqv ...) must be flat
* element contracts for (set ...) must be chaperones, and the resulting
contract is a chaperone contract
Also, change higher-order set/c contracts to be chaperone contracts
due to the new restrictions.
2011-07-21 18:49:06 -04:00
Matthew Flatt
4307bcace5
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
2011-07-16 08:03:54 -06:00
Matthew Flatt
d718a2b128
fix docs to clarify that `#%expression' appears from local-expand
2011-07-15 20:16:45 -06:00
Matthew Flatt
f288c694db
clarification
2011-07-15 19:43:47 -06:00
Matthew Flatt
1c4722eaee
remove obsolete reference to '#%mred-kernel
2011-07-14 21:32:47 -06:00
Matthew Flatt
5e5172baab
fix typo; eliminate "this" as a noun; otherminor improvements
2011-07-14 21:32:47 -06:00
Matthew Flatt
7be0c8236f
fix `procedure-reduce-keyword-arity' checking
...
and clarify need for distinct keywords in parts of the
documentation
2011-07-14 17:07:18 -06:00
Vincent St-Amour
937d0ad722
Fix unbalanced curly brackets.
2011-07-14 18:51:13 -04:00
Eli Barzilay
db7f2b4542
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).
2011-07-14 17:21:46 -04:00
Sam Tobin-Hochstadt
355050acde
Docs for racket/kernel
2011-07-13 18:15:51 -04:00
Matthew Flatt
cc6f3f69ab
add `port-set-next-location!'; make prompt read handler use it
...
Closes PR 12035
2011-07-10 08:36:47 -06:00
Matthew Flatt
089201b49b
doc typo fixes
2011-07-09 06:16:10 -06:00
Ryan Culpepper
73230537ba
removed merge conflict artifact
...
Merge to release branch
2011-07-08 15:34:59 -06:00
Matthew Flatt
b98e1b189a
change semantic of internal definitions
...
and `letrec-syntaxes+values' --- allowing `let' in place
of `letrec', which in turn lets the compiler optimize
away location allocation
2011-07-08 14:00:41 -06:00
Matthew Flatt
65b1a569a0
add `unsafe-list-{ref,set}'
...
Use the new functions in `syntax-case'; the benefit is small, and
it's mostly useful as hint to the optimizer that the operation
can be dropped if the result isn't used
2011-07-08 06:23:29 -06:00