>> and probably using a sandbox is the way to get it. You'd want to not use the
>> default settings for the sandbox, tho, but give more permissions for file
>> access (and probably a few other things).
Following that hint (thanks Robby!), I _seem_ to be on the right track:
#lang racket/base
(req
No one should rely on eq? of lists. especially not in code that didn't
exist in the pre-immutable cons days.
On Mon, Feb 11, 2013 at 12:17 PM, Neil Toronto wrote:
> The performance of `sequence->list' came up on this thread:
>
>
> http://thread.gmane.org/gmane.**comp.lang.racket.user/1638
On 02/10/2013 06:55 AM, Sam Tobin-Hochstadt wrote:
What is the type of `ops-hash` intended to be here?
There's no valid Typed Racket type. It represents an extensible mapping
from types to ring operations on those types.
Using `case->', it's not too hard to make a mapping from symbols to rin
The performance of `sequence->list' came up on this thread:
http://thread.gmane.org/gmane.comp.lang.racket.user/16384
`sequence->list' uses the sequence API to make a copy of its input. This
can dominate the running time of functions that look like this:
(define (f xs)
(let ([xs (seq
That would be great! It would make for such a smoother experience
switching between DrRacket and Emacs. (DrRacket is awesome for Racket.
Emacs is awesome for multi-language projects.)
I remember staring at the Emacs Scheme mode menu the first time and
thinking, "Huh?? Where's the 'Run' command?'"
Well first let me back up and provide a simple recipe for the first
issue -- `,enter` not behaving like `enter!` with respect to reloading
changed files. IIRC this started to happen circa 5.3.1.
First let's try `enter!`:
$ /Applications/Racket_v5.3.1/bin/racket
Welcome to Racket v5.3.1.
Historically, I've had to do a fairly frequent REPL restarts. I'm going to
experiment with sandbox in Palm (my TR/R emacs major mode). I just posted
a brief blurb about Palm in the Google+ Racket community.
https://plus.google.com/u/0/communities/108652050642990465975/stream/6c7f73ee-1315-4141-b
IMO, DrRacket-like functionality would be nice to have in an Emacs setting
and probably using a sandbox is the way to get it. You'd want to not use
the default settings for the sandbox, tho, but give more permissions for
file access (and probably a few other things).
Robby
On Mon, Feb 11, 2013 a
8 matches
Mail list logo