shithub: MicroHs

Download patch

ref: 3771200d974ccfd4ce43d25523948e49f434b5bd
parent: be3a0829300690150ee2aa9b1a448308df7ad485
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Mon Jan 22 09:20:57 EST 2024

Add export list.

--- a/lib/System/IO.hs
+++ b/lib/System/IO.hs
@@ -1,10 +1,27 @@
 -- Copyright 2023 Lennart Augustsson
 -- See LICENSE file for full license.
 module System.IO(
-  module System.IO, Handle, IO,
-  module Data.Functor,
-  module Control.Applicative,
-  module Control.Monad,
+  IO, Handle, FilePath,
+  IOMode(..),
+  stdin, stdout, stderr,
+  hGetChar, hPutChar,
+  putChar, getChar,
+  hClose, hFlush,
+  openFile, openFileM, openBinaryFile,
+  hPutStr, hPutStrLn,
+  putStr, putStrLn,
+  print,
+  hGetContents,
+  writeFile, readFile,
+
+  hSerialize, hDeserialize, cprint,
+  writeSerialized, readSerialized,
+
+  unsafeInterleaveIO,
+  getTimeMilli,
+  openTmpFile,
+
+  PrintOrRun(..),
   ) where
 import Primitives
 import Control.Applicative
--