shithub: MicroHs

Download patch

ref: 88da54f571b703d5a3223b44cd46d8d39dab7765
parent: 2fd27e0eebe1993daabf11bebd1f5438741b36c1
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Sat Feb 3 13:46:38 EST 2024

Make interactive system work again.

--- a/lib/Prelude.hs
+++ b/lib/Prelude.hs
@@ -66,7 +66,8 @@
 import Data.Tuple(()(..), fst, snd)
 import Data.Word(Word)
 import System.IO(IO, putChar, putStr, putStrLn, print, getLine, getContents, interact,
-                 FilePath, readFile, writeFile, appendFile)
+                 FilePath, readFile, writeFile, appendFile,
+                 PrintOrRun(..), cprint)
 import Text.Show(Show(..), ShowS, shows, showChar, showString, showParen)
 import Text.String
 import Primitives(_wordSize, _isWindows)
--