Module

Untagged.Coercible

Package
purescript-untagged-union
Repository
jvliwanag/purescript-untagged-union

#Coercible Source

class Coercible a b 

A Coercible a b exists if all values of type a have runtime values that can be interpreted as that of type b.

Instances

#CoercibleRecordRL Source

class CoercibleRecordRL (rl :: RowList) (rl' :: RowList) 

Instances

#coerce Source

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