Update fixnums documentation to suggest require'ing only fixnum-related parts of racket/unsafe/ops and not the rest of unsafe ops.
This commit is contained in:
parent
07f060133c
commit
58cfb6654a
|
@ -25,7 +25,9 @@ code where the @racket[require] of @racketmodname[racket/fixnum] is
|
|||
replaced with
|
||||
|
||||
@racketblock[(require (filtered-in
|
||||
(λ (name) (regexp-replace #rx"unsafe-" name ""))
|
||||
(λ (name)
|
||||
(and (regexp-match #rx"^unsafe-fx" name)
|
||||
(regexp-replace #rx"unsafe-" name "")))
|
||||
racket/unsafe/ops))]
|
||||
|
||||
to drop in unsafe versions of the library. Alternately, when
|
||||
|
|
Loading…
Reference in New Issue
Block a user