Copyright | (c) Lodz University of Technology 2013 |
---|---|
License | see LICENSE |
Maintainer | ghc-devs@haskell.org |
Stability | internal |
Portability | non-portable (GHC internal) |
Safe Haskell | None |
Language | Haskell98 |
ExtsCompat46
Description
Compatibility module to encapsulate primops API change between GHC 7.6 GHC 7.8.
In GHC we use comparison primops in a couple of modules, but that primops have different type signature in GHC 7.6 (where they return Bool) than in GHC 7.8 (where they return Int#). As long as we allow bootstrapping with GHC 7.6 or earlier we need to have this compatibility module, so that we can compile stage1 compiler using the old API and then continue with stage2 using the new API. When we set GHC 7.8 as the minimum version required for bootstrapping, we should remove this module.
Documentation
module GHC.Exts
sameMutableArray# :: MutableArray# s a -> MutableArray# s a -> BoolSource
sameMutableByteArray# :: MutableByteArray# s -> MutableByteArray# s -> BoolSource
sameMutableArrayArray# :: MutableArrayArray# s -> MutableArrayArray# s -> BoolSource
sameMutVar# :: MutVar# s a -> MutVar# s a -> BoolSource