aboutsummaryrefslogtreecommitdiff
path: root/hsm-repl/Test/Repl.hs
blob: bd79a1ed2bc8e46609c409916bf7278076932599 (plain)
1
2
3
4
5
6
7
8
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 @"test-repl λ " @'["Prelude"] @[Bool] & runLog @"repl" Trace & runEff