Don't import prelude so explicitly (#37)
This commit is contained in:
parent
f5ac40d5a6
commit
699cf18b13
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
module HTTPure.HTTPureMSpec where
|
||||
|
||||
import Prelude (pure, unit)
|
||||
import Prelude
|
||||
|
||||
import Test.Spec as Spec
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
module HTTPure.PathSpec where
|
||||
|
||||
import Prelude (pure, unit)
|
||||
import Prelude
|
||||
|
||||
import Test.Spec as Spec
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
module HTTPure.HTTPureSpec where
|
||||
|
||||
import Prelude (discard, ($))
|
||||
import Prelude
|
||||
|
||||
import Test.Spec as Spec
|
||||
import Test.Spec.Reporter as Reporter
|
||||
|
Loading…
Reference in New Issue
Block a user