diff options
Diffstat (limited to 'Utility/Misc.hs')
-rw-r--r-- | Utility/Misc.hs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Utility/Misc.hs b/Utility/Misc.hs index e4eccac43..1fa08ddd1 100644 --- a/Utility/Misc.hs +++ b/Utility/Misc.hs @@ -9,20 +9,21 @@ module Utility.Misc where +import Utility.FileSystemEncoding +import Utility.Monad + import System.IO import Control.Monad import Foreign import Data.Char import Data.List -import Control.Applicative import System.Exit #ifndef mingw32_HOST_OS import System.Posix.Process (getAnyProcessStatus) import Utility.Exception #endif - -import Utility.FileSystemEncoding -import Utility.Monad +import Control.Applicative +import Prelude {- A version of hgetContents that is not lazy. Ensures file is - all read before it gets closed. -} |