[racket-dev] safe version of racket/unsafe/ops?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Sep 27 23:14:17 EDT 2010

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


Posted on the dev mailing list.