Read actions for Strict text in scope by default.

This commit is contained in:
Stephen Diehl
2016-06-08 23:02:57 -04:00
parent 30d0bbca93
commit 173b86de45
2 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ module Base (
($!),
) where
-- Glorious Glashgow Haskell Compiler
-- Glorious Glasgow Haskell Compiler
#if defined(__GLASGOW_HASKELL__) && ( __GLASGOW_HASKELL__ >= 600 )
-- Base GHC types
+13 -7
View File
@@ -31,16 +31,16 @@ import Conv as X
import Panic as X
import Base as Base hiding (
putStr
, putStrLn
, print
, show
, error
, undefined
putStr -- Overriden by Show.putStr
, putStrLn -- Overriden by Show.putStrLn
, print -- Overriden by Protolude.print
, show -- Overriden by Protolude.show
, error -- Overriden by Debug.error
, undefined -- Overriden by Debug.undefined
)
import qualified Base as PBase
-- Used for 'show'
-- Used for 'show', not exported.
import Data.String (String)
-- Maybe'ized version of partial functions
@@ -276,6 +276,12 @@ import Data.Text as X (Text)
import qualified Data.Text.Lazy
import qualified Data.Text.IO
import Data.Text.IO as X (
getLine
, getContents
, interact
)
import Data.Text.Lazy (
toStrict
, fromStrict