Fixes for GHC 8.x, archive loading, -dynamic, and file generation
This commit is contained in:
11
testsuite/load/plain/TestIO.hs
Normal file
11
testsuite/load/plain/TestIO.hs
Normal file
@ -0,0 +1,11 @@
|
||||
module TestIO (resource) where
|
||||
|
||||
import Control.Monad (forever)
|
||||
|
||||
import API
|
||||
|
||||
resource :: CLIInterface
|
||||
resource = testio { repl = loop }
|
||||
|
||||
loop :: IO ()
|
||||
loop = forever $ getLine >>= putStrLn
|
Reference in New Issue
Block a user