Module

Data.Undefined.NoProblem.Open

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

#Coerce Source

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

Still experimenting with the finall API

Instances

#coerce Source

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