unison-runtime-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Runtime

Documentation

pattern Runtime :: forall {e} {e'} {v}. IO () -> (CodeLookup v IO () -> PrettyPrintEnv -> ProfileSpec -> Term v -> IO (Either e (Response e', Term v))) -> (CompileOpts -> CodeLookup v IO () -> PrettyPrintEnv -> Reference -> FilePath -> IO (Maybe e)) -> Type v Ann -> NESet (Type v Ann) -> Runtime e e' v Source #

data Error Source #

Constructors

UnstructuredError Text

TODO: This constructor should go away, but there are still a few places that have unstructured errors.

CompileExn CompileExn 
RuntimeExn (Maybe (PrettyPrintEnv, Reference -> Reference, Val -> DecompResult Symbol)) RuntimeExn 
RuntimePanic PrettyPrintEnv (Val -> DecompResult Symbol) RuntimePanic