| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Unison.Result
Documentation
Constructors
| 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 #
Constructors
| 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 Methods showsPrec :: Int -> CompilerBug v loc -> ShowS # show :: CompilerBug v loc -> String # showList :: [CompilerBug v loc] -> ShowS # | |
pattern TypeWarning :: Warn v loc -> Note v loc Source #
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 #