ddc-core-0.2.1.1: Disciple Core language and type checker.
DDC.Type.Check.Monad
Synopsis
data CheckM err a Source
Type checking monad.
Constructors
Instances
throw :: err -> CheckM err aSource
Throw a type error in the monad.
result :: CheckM err a -> Either err aSource
Take the result from a check monad.