We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd4928 commit 28452e9Copy full SHA for 28452e9
src/Hell.hs
@@ -47,6 +47,7 @@ module Main (main) where
47
#if __GLASGOW_HASKELL__ >= 906
48
import Control.Monad
49
#endif
50
+import Control.Exception (evaluate)
51
import qualified Control.Concurrent as Concurrent
52
import Control.Monad.Reader
53
import Control.Monad.State.Strict
@@ -153,7 +154,7 @@ dispatch (Run filePath) = do
153
154
action <- compileFile filePath
155
eval () action
156
dispatch (Check filePath) = do
- void $ compileFile filePath
157
+ compileFile filePath >>= void . evaluate
158
159
--------------------------------------------------------------------------------
160
-- Compiler
0 commit comments