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