unsafe package:ghc-internal

The ForeignPtr type and operations. This module is part of the Foreign Function Interface (FFI) and will usually be imported via the Foreign module. Unsafe API Only.
Marshalling support. Unsafe API.
Unsafe IO operations
The representations of the types TyCon and TypeRep, and the function mkTyCon which is used by derived instances of Typeable to construct TyCons. Be warned, these functions can be used to construct ill-kinded type representations.
Like index, but without checking that the value is in range.
like rangeSize, but without checking that the upper bound is in range.
Make a mutable array of arrays immutable, without copying.
Make a mutable byte array immutable, without copying.
Make an immutable byte array mutable, without copying.
Shift the argument left by the specified number of bits. The result is undefined for negative shift amounts and shift amounts greater or equal to the bitSize. Defaults to shiftL unless defined explicitly by an instance.
Shift the first argument right by the specified number of bits, which must be non-negative and smaller than the number of bits in the type. Right shifts perform sign extension on signed number types; i.e. they fill the top bits with 1 if the x is negative and with 0 otherwise. Defaults to shiftR unless defined explicitly by an instance.