diff options
Diffstat (limited to 'hsm-repl/Test')
-rw-r--r-- | hsm-repl/Test/Repl.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hsm-repl/Test/Repl.hs b/hsm-repl/Test/Repl.hs index 2d299b8..8588718 100644 --- a/hsm-repl/Test/Repl.hs +++ b/hsm-repl/Test/Repl.hs @@ -1,8 +1,7 @@ import Control.Monad.Loops (whileJust_) -import Data.Function ((&)) import Effectful (runEff) import Hsm.Log (Severity(Trace), runLog) import Hsm.Repl (repl, runRepl) main :: IO () -main = whileJust_ repl return & runRepl @"exec-repl λ " @'[ "Prelude"] @[Bool] & runLog @"repl" Trace & runEff +main = runEff . runLog @"repl" Trace . runRepl @"exec-repl λ " @'[ "Prelude"] @[Bool] $ whileJust_ repl return |