11 Unsafe Typed Racket operations
(require typed/racket/unsafe) | package: typed-racket-lib |
Warning: the operations documented in this section are unsafe, meaning that they can circumvent the invariants of the type system. Unless the #:no-optimize language option is used, this may result in unpredictable behavior and may even crash Typed Racket.
Unlike require/typed, this form is unsafe and will not generate contracts that correspond to the specified types to check that the values actually match their types.
Examples: | |||||||||||
|
Added in version 1.3 of package typed-racket-lib.
Unlike provide, this form is unsafe and Typed Racket will not generate any contracts that correspond to the specified types. This means that uses of the exports in other modules may circumvent the type system’s invariants.
Examples: | ||||||||||||||||||||
|
Added in version 1.3 of package typed-racket-lib.