Add read functionality.
parent
830ea728b4
commit
4a87ddd6d6
|
@ -259,6 +259,10 @@ import GHC.Num as X
|
||||||
, Integer
|
, Integer
|
||||||
)
|
)
|
||||||
|
|
||||||
|
import GHC.Read as X
|
||||||
|
( Read, readList, readListPrec, readPrec, readsPrec
|
||||||
|
)
|
||||||
|
|
||||||
import GHC.Real as X
|
import GHC.Real as X
|
||||||
( Fractional, (/), fromRational, recip
|
( Fractional, (/), fromRational, recip
|
||||||
, Integral, div, divMod, mod, quot, quotRem, rem, toInteger
|
, Integral, div, divMod, mod, quot, quotRem, rem, toInteger
|
||||||
|
@ -296,3 +300,7 @@ import System.IO as X
|
||||||
, stdout
|
, stdout
|
||||||
, withFile
|
, withFile
|
||||||
)
|
)
|
||||||
|
|
||||||
|
import Text.Read as X
|
||||||
|
( read
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue