Module

Untagged.Castable

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

#Castable Source

class Castable a b 

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

Instances

#CastableRecordRL Source

class CastableRecordRL (rl :: RowList) (rl' :: RowList) 

Instances

#cast Source

cast :: forall b a. Castable a b => a -> b