[racket] Compiling a program with places
> A couple more examples using the `place' form:
> - https://github.com/plt/racket/blob/master/collects/tests/racket/benchmarks/shootout/binarytrees-places.rkt
>From that I just discovered this:
(require (filtered-in (lambda (name) (regexp-replace #rx"unsafe-" name ""))
racket/unsafe/ops))
That's neat.
This would be a great "tip" sidebar here:
http://docs.racket-lang.org/reference/unsafe.html
And/or if the Racket docs someday allowed users to add comments (I
think I saw that idea discussed on the list recently?), I would have
added one just now.
Plus I suppose this would be good material for an "Effective Racket"
sort of book.
On Thu, Oct 13, 2011 at 8:28 AM, Sam Tobin-Hochstadt <samth at ccs.neu.edu> wrote:
> On Thu, Oct 13, 2011 at 8:14 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
>>
>> Another possibility is to use the `place' form instead of
>> `dynamic-place'. The new Guide section (which I see is not linked as it
>> should be from the Reference section) provides an example using
>> `place':
>
> A couple more examples using the `place' form:
> - https://github.com/plt/racket/blob/master/collects/tests/racket/benchmarks/shootout/binarytrees-places.rkt
> - https://github.com/plt/racket/blob/master/collects/tests/racket/benchmarks/shootout/regexpdna-places.rkt
> --
> sam th
> samth at ccs.neu.edu
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>