shithub: MicroHs

ref: ed1920f106e8cf23b02910ec2ecae3af3b6f22a7
dir: /lib/Data/Coerce.hs/

View raw version
module Data.Coerce(Coercible, coerce) where
import 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