Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Primitive.Unlifted.Class
Documentation
class PrimUnlifted a where Source #
Associated Types
type Unlifted a :: TYPE UnliftedRep Source #
Methods
toUnlifted# :: a -> Unlifted a Source #
fromUnlifted# :: Unlifted a -> a Source #
writeUnliftedArray# :: MutableArrayArray# s -> Int# -> a -> State# s -> State# s Source #
readUnliftedArray# :: MutableArrayArray# s -> Int# -> State# s -> (#State# s, a#) Source #
indexUnliftedArray# :: ArrayArray# -> Int# -> a Source #