shithub: MicroHs

ref: 7ae7d07f0b97bce384239c1f7c1ae4d407e7524c
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