[racket-dev] safe version of racket/unsafe/ops?
I was thinking of something like this:
> (require (prefix-in unsafe- racket/fixnum))
> (unsafe-fx+ #f #f)
fx+: expects type <fixnum> as 1st argument, given: #f; other arguments were: #f
Robby
On Mon, Sep 27, 2010 at 7:01 PM, John Clements
<clements at brinckerhoff.org> wrote:
>
> On Sep 27, 2010, at 3:45 PM, Robby Findler wrote:
>
>> How about prefix-in with "unsafe-" as the prefix?
>
> You still have to specify the right set of functions, right? But yes, that's all I'm thinking of.
>
> John