Use Text.getContents - remove UTF-8 compatibility library

This commit is contained in:
Luca Molteni 2018-06-10 17:51:54 +02:00
parent a7ada2cc60
commit 694d48e2bc

View File

@ -31,7 +31,7 @@ module Hledger.Read.CsvReader (
)
where
import Prelude ()
import "base-compat-batteries" Prelude.Compat hiding (getContents)
import "base-compat-batteries" Prelude.Compat
import Control.Exception hiding (try)
import Control.Monad
import Control.Monad.Except
@ -71,7 +71,6 @@ import Text.Printf (printf)
import Data.Word
import Hledger.Data
import Hledger.Utils.UTF8IOCompat (getContents)
import Hledger.Utils
import Hledger.Read.Common (Reader(..),InputOpts(..),amountp, statusp, genericSourcePos)