Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Parsing (Err v) | |
NameResolutionFailures [ResolutionFailure loc] | |
UnknownSymbol v loc | |
TypeError (ErrorNote v loc) | |
TypeInfo (InfoNote v loc) | |
CompilerBug (CompilerBug v loc) |
data CompilerBug v loc Source #
TopLevelComponentNotFound v (Term v loc) | |
ResolvedNameNotFound v loc Name | |
TypecheckerBug (CompilerBug v loc) |
Instances
(Show loc, Var v, Ord loc) => Show (CompilerBug v loc) Source # | |
Defined in Unison.Result showsPrec :: Int -> CompilerBug v loc -> ShowS # show :: CompilerBug v loc -> String # showList :: [CompilerBug v loc] -> ShowS # |
makeResult :: Applicative m => notes -> Maybe a -> ResultT notes m a Source #
runResultT :: ResultT notes f a -> f (Maybe a, notes) Source #
compilerBug :: Monad f => CompilerBug v loc -> ResultT (Seq (Note v loc)) f a Source #