Add more defaults such as Num and Eq.
Also normalize the imports across modules.master
parent
913c4f4379
commit
773413b837
|
@ -54,19 +54,19 @@ import Control.Monad.Trans.Reader as X
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.Bool as X
|
import Data.Bool as X
|
||||||
( Bool(..)
|
( Bool (..)
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.Char as X
|
import Data.Char as X
|
||||||
( Char
|
( Char (..)
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.Either as X
|
import Data.Either as X
|
||||||
( Either(Left, Right)
|
( Either (..)
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.Eq as X
|
import Data.Eq as X
|
||||||
( Eq(..)
|
( Eq (..)
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.Function as X
|
import Data.Function as X
|
||||||
|
@ -97,7 +97,7 @@ import Data.List as X
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.Maybe as X
|
import Data.Maybe as X
|
||||||
( Maybe(Just, Nothing)
|
( Maybe (..)
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.Monoid as X
|
import Data.Monoid as X
|
||||||
|
@ -108,7 +108,7 @@ import Data.Monoid as X
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.Ord as X
|
import Data.Ord as X
|
||||||
( Ord(..)
|
( Ord (..)
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.String as X
|
import Data.String as X
|
||||||
|
@ -116,13 +116,11 @@ import Data.String as X
|
||||||
)
|
)
|
||||||
|
|
||||||
import Data.Traversable as X
|
import Data.Traversable as X
|
||||||
( Traversable
|
( Traversable (..)
|
||||||
, for
|
)
|
||||||
, forM
|
|
||||||
, mapM
|
import Prelude as X
|
||||||
, sequence
|
( Num (..)
|
||||||
, sequenceA
|
|
||||||
, traverse
|
|
||||||
)
|
)
|
||||||
|
|
||||||
import System.Environment as X
|
import System.Environment as X
|
||||||
|
@ -133,7 +131,7 @@ import System.IO as X
|
||||||
( FilePath
|
( FilePath
|
||||||
, Handle
|
, Handle
|
||||||
, IO
|
, IO
|
||||||
, IOMode(..)
|
, IOMode (..)
|
||||||
, openFile
|
, openFile
|
||||||
, print
|
, print
|
||||||
, stderr
|
, stderr
|
||||||
|
|
Loading…
Reference in New Issue