Don't import prelude so explicitly (#37)

This commit is contained in:
Connor Prussin 2017-07-17 22:31:46 -07:00 committed by GitHub
parent f5ac40d5a6
commit 699cf18b13
20 changed files with 20 additions and 20 deletions

View File

@ -1,6 +1,6 @@
module Headers where
import Prelude (discard, flip, pure, show, (<>), ($), (<<<))
import Prelude
import Control.Monad.Eff.Console as Console
import Data.StrMap as StrMap

View File

@ -1,6 +1,6 @@
module HelloWorld where
import Prelude (discard, pure, show, (<>), ($))
import Prelude
import Control.Monad.Eff.Console as Console
import Data.StrMap as StrMap

View File

@ -1,6 +1,6 @@
module MultiRoute where
import Prelude (discard, pure, show, (<>), ($))
import Prelude
import Control.Monad.Eff.Console as Console
import Data.StrMap as StrMap

View File

@ -4,7 +4,7 @@ module HTTPure.Body
, write
) where
import Prelude (Unit, bind, discard, pure, unit, (>>=), (<>), ($))
import Prelude
import Control.Monad.Aff as Aff
import Control.Monad.Eff as Eff

View File

@ -4,7 +4,7 @@ module HTTPure.Headers
, write
) where
import Prelude (Unit, bind, flip, pure, unit, ($), (<<<))
import Prelude
import Control.Monad.Eff as Eff
import Data.Maybe as Maybe

View File

@ -3,7 +3,7 @@ module HTTPure.Request
, fromHTTPRequest
) where
import Prelude (bind, pure, (<>), ($))
import Prelude
import Control.Monad.Aff as Aff
import Data.Show as Show

View File

@ -4,7 +4,7 @@ module HTTPure.Response
, send
) where
import Prelude (Unit, discard, ($))
import Prelude
import Data.Maybe as Maybe
import Node.HTTP as HTTP

View File

@ -3,7 +3,7 @@ module HTTPure.Server
, serve
) where
import Prelude (Unit, bind, pure, unit, (>>=), ($))
import Prelude
import Control.Monad.Aff as Aff
import Control.Monad.Eff.Class as EffClass

View File

@ -3,7 +3,7 @@ module HTTPure.Status
, write
) where
import Prelude (Unit)
import Prelude
import Control.Monad.Eff as Eff
import Node.HTTP as HTTP

View File

@ -1,6 +1,6 @@
module HTTPure.BodySpec where
import Prelude (bind, discard, pure, ($))
import Prelude
import Control.Monad.Eff.Class as EffClass
import Data.StrMap as StrMap

View File

@ -1,6 +1,6 @@
module HTTPure.HTTPureMSpec where
import Prelude (pure, unit)
import Prelude
import Test.Spec as Spec

View File

@ -1,6 +1,6 @@
module HTTPure.HeadersSpec where
import Prelude (bind, discard, pure, ($))
import Prelude
import Control.Monad.Eff.Class as EffClass
import Data.StrMap as StrMap

View File

@ -1,6 +1,6 @@
module HTTPure.IntegrationSpec where
import Prelude (discard, bind)
import Prelude
import Control.Monad.Eff.Class as EffClass
import Test.Spec as Spec

View File

@ -1,6 +1,6 @@
module HTTPure.PathSpec where
import Prelude (pure, unit)
import Prelude
import Test.Spec as Spec

View File

@ -1,6 +1,6 @@
module HTTPure.RequestSpec where
import Prelude (bind, discard, pure, show, unit, (<>), ($), (>>=))
import Prelude
import Control.Monad.Eff.Class as EffClass
import Data.StrMap as StrMap

View File

@ -1,6 +1,6 @@
module HTTPure.ResponseSpec where
import Prelude (bind, discard, pure, ($))
import Prelude
import Control.Monad.Eff.Class as EffClass
import Data.StrMap as StrMap

View File

@ -1,6 +1,6 @@
module HTTPure.ServerSpec where
import Prelude (bind, discard, pure, unit, ($))
import Prelude
import Control.Monad.Eff.Class as EffClass
import Data.StrMap as StrMap

View File

@ -1,6 +1,6 @@
module HTTPure.SpecHelpers where
import Prelude (Unit, bind, discard, pure, unit, ($), (<>), (>>=), (<<<), (<$>))
import Prelude
import Control.Monad.Aff as Aff
import Control.Monad.Eff as Eff

View File

@ -1,6 +1,6 @@
module HTTPure.StatusSpec where
import Prelude (bind, discard, pure, ($))
import Prelude
import Control.Monad.Eff.Class as EffClass
import Test.Spec as Spec

View File

@ -1,6 +1,6 @@
module HTTPure.HTTPureSpec where
import Prelude (discard, ($))
import Prelude
import Test.Spec as Spec
import Test.Spec.Reporter as Reporter