Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Runtime | |
|
type IsCacheHit = Bool Source #
type WatchResults v a = Either Error ([(v, Term v)], [Error], Map v (a, WatchKind, Id, Term v, Term v, IsCacheHit)) Source #
evaluateWatches :: forall v a. Var v => CodeLookup v IO a -> PrettyPrintEnv -> (Id -> IO (Maybe (Term v))) -> Runtime v -> TypecheckedUnisonFile v a -> IO (WatchResults v a) Source #
evaluateTerm' :: (Var v, Monoid a) => CodeLookup v IO a -> (Id -> IO (Maybe (Term v))) -> PrettyPrintEnv -> Runtime v -> Term v a -> IO (Either Error ([Error], Term v)) Source #
evaluateTerm :: (Var v, Monoid a) => CodeLookup v IO a -> PrettyPrintEnv -> Runtime v -> Term v a -> IO (Either Error ([Error], Term v)) Source #