A peer-to-peer stack for code collaboration
Merge branch 'master' into f/runLangWithState
Alexis Sellier864265f5fb2e
diff --cc src/Radicle/Internal/Core.hsindex c8d9a0a,aaeeae4..58d583c--- a/src/Radicle/Internal/Core.hs+++ b/src/Radicle/Internal/Core.hs@@@ -212,10 -194,9 +212,9 @@@ runLan:: Monad m=> Bindings m-> Lang m a- -> m (Either (LangError (Value Reference)) a)-runLang e l = evalStateT (runExceptT $ fromLangT l) e+ -> m (Either (LangError (Value Reference)) a, Bindings m)+runLang e l = runStateT (runExceptT $ fromLangT l) e--- | Like 'local' or 'withState'withEnv :: Monad m => (Bindings m -> Bindings m) -> Lang m a -> Lang m awithEnv modifier action = do