packages feed

MicroHs-0.12.6.1: lib/Data/Coerce.hs

module Data.Coerce(Coercible, coerce) where
import qualified Prelude()
import Primitives

type Coercible :: forall k . k -> k -> Constraint
class Coercible a b

coerce :: forall a b . Coercible a b => a -> b
coerce = primUnsafeCoerce