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

From: John Clements (clements at brinckerhoff.org)
Date: Tue Sep 28 00:20:52 EDT 2010

On Sep 27, 2010, at 8:14 PM, Robby Findler wrote:

> 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

Right, but there are lots of unsafe-ops (e.g.: unsafe-vector-length); if I'm working on a large file that uses racket/unsafe/ops, I'd like to just toggle it to racket/unsafe/actuallynotunsafeops to get better error messages.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20100927/3477a2aa/attachment.p7s>

Posted on the dev mailing list.