Module

Data.Undefined.NoProblem.Closed

Package
purescript-undefined-is-not-a-problem
Repository
paluh/purescript-undefined-is-not-a-problem

#CoerceProps Source

class CoerceProps (given :: RowList) (expected :: RowList) (debugPath :: SList) | given -> debugPath

Instances

#CoerceProp Source

class CoerceProp given expected (debugPath :: SList) | expected -> debugPath

Check if given type can be coerced safely to the expected one.

Instances

#TypeEqualsOnPath Source

class TypeEqualsOnPath a b (p :: SList) | a -> b, b -> a

Instances

#Coerce Source

class (CoerceProp given expected SNil) <= Coerce given expected 

Instances

#coerce Source

coerce :: forall given expected. Coerce given expected => given -> expected