... | ... | @@ -6,6 +6,9 @@ PrimOps are functions that cannot be implemented in Haskell, and are provided na |
|
|
|
|
|
PrimOps are made available to Haskell code through the virtual module `GHC.Prim`. This module has no implementation, and its interface never resides on disk: if `GHC.Prim` is imported, we use a built-in `ModIface` value - see `ghcPrimIface` in [compiler/iface/LoadIface.lhs](/trac/ghc/browser/ghc/compiler/iface/LoadIface.lhs).
|
|
|
|
|
|
|
|
|
It would also be useful to look at the [Wired-in and known-key things](commentary/compiler/wired-in) wiki page to understand this topic.
|
|
|
|
|
|
## The primops.txt.pp file
|
|
|
|
|
|
|
... | ... | |