prime package:ghc
Like primElemRepSizeB but assumes pointers/words are 8 words wide.
This can be useful to compute the size of a rep as if we were
compiling for a 64bit platform.
Creates a primitive nominal type equality predicate with an explicit
(but homogeneous) kind: (~#) k k ty1 ty2
Creates a primitive nominal type equality predicate. t1 ~# t2
Invariant: the types are not Coercions
Makes a lifted equality predicate at the given role
Creates a primitive representational type equality predicate. t1 ~R#
t2 Invariant: the types are not Coercions
TcRnForeignImportPrimExtNotSet is an error occurring when a foreign
import is declared using the prim calling convention without
having turned on the -XGHCForeignImportPrim extension.
Example(s): foreign import prim "foo" foo :: ByteArray# -> (# Int#,
Int# #)
Test cases: ffishould_failT20116