Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #
$sel:terminate:Runtime :: Runtime e e' v -> IO () Source #
$sel:evaluate:Runtime :: Runtime e e' v -> CodeLookup v IO () -> PrettyPrintEnv -> ProfileSpec -> Term v -> IO (Either e (Response e', Term v)) Source #
$sel:compileTo:Runtime :: Runtime e e' v -> CompileOpts -> CodeLookup v IO () -> PrettyPrintEnv -> Reference -> FilePath -> IO (Maybe e) 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 |