Don't import prelude so explicitly (#37)
This commit is contained in:
parent
f5ac40d5a6
commit
699cf18b13
@ -1,6 +1,6 @@
|
|||||||
module Headers where
|
module Headers where
|
||||||
|
|
||||||
import Prelude (discard, flip, pure, show, (<>), ($), (<<<))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Console as Console
|
import Control.Monad.Eff.Console as Console
|
||||||
import Data.StrMap as StrMap
|
import Data.StrMap as StrMap
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HelloWorld where
|
module HelloWorld where
|
||||||
|
|
||||||
import Prelude (discard, pure, show, (<>), ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Console as Console
|
import Control.Monad.Eff.Console as Console
|
||||||
import Data.StrMap as StrMap
|
import Data.StrMap as StrMap
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module MultiRoute where
|
module MultiRoute where
|
||||||
|
|
||||||
import Prelude (discard, pure, show, (<>), ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Console as Console
|
import Control.Monad.Eff.Console as Console
|
||||||
import Data.StrMap as StrMap
|
import Data.StrMap as StrMap
|
||||||
|
@ -4,7 +4,7 @@ module HTTPure.Body
|
|||||||
, write
|
, write
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Prelude (Unit, bind, discard, pure, unit, (>>=), (<>), ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Aff as Aff
|
import Control.Monad.Aff as Aff
|
||||||
import Control.Monad.Eff as Eff
|
import Control.Monad.Eff as Eff
|
||||||
|
@ -4,7 +4,7 @@ module HTTPure.Headers
|
|||||||
, write
|
, write
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Prelude (Unit, bind, flip, pure, unit, ($), (<<<))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff as Eff
|
import Control.Monad.Eff as Eff
|
||||||
import Data.Maybe as Maybe
|
import Data.Maybe as Maybe
|
||||||
|
@ -3,7 +3,7 @@ module HTTPure.Request
|
|||||||
, fromHTTPRequest
|
, fromHTTPRequest
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Prelude (bind, pure, (<>), ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Aff as Aff
|
import Control.Monad.Aff as Aff
|
||||||
import Data.Show as Show
|
import Data.Show as Show
|
||||||
|
@ -4,7 +4,7 @@ module HTTPure.Response
|
|||||||
, send
|
, send
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Prelude (Unit, discard, ($))
|
import Prelude
|
||||||
|
|
||||||
import Data.Maybe as Maybe
|
import Data.Maybe as Maybe
|
||||||
import Node.HTTP as HTTP
|
import Node.HTTP as HTTP
|
||||||
|
@ -3,7 +3,7 @@ module HTTPure.Server
|
|||||||
, serve
|
, serve
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Prelude (Unit, bind, pure, unit, (>>=), ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Aff as Aff
|
import Control.Monad.Aff as Aff
|
||||||
import Control.Monad.Eff.Class as EffClass
|
import Control.Monad.Eff.Class as EffClass
|
||||||
|
@ -3,7 +3,7 @@ module HTTPure.Status
|
|||||||
, write
|
, write
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Prelude (Unit)
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff as Eff
|
import Control.Monad.Eff as Eff
|
||||||
import Node.HTTP as HTTP
|
import Node.HTTP as HTTP
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.BodySpec where
|
module HTTPure.BodySpec where
|
||||||
|
|
||||||
import Prelude (bind, discard, pure, ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Class as EffClass
|
import Control.Monad.Eff.Class as EffClass
|
||||||
import Data.StrMap as StrMap
|
import Data.StrMap as StrMap
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.HTTPureMSpec where
|
module HTTPure.HTTPureMSpec where
|
||||||
|
|
||||||
import Prelude (pure, unit)
|
import Prelude
|
||||||
|
|
||||||
import Test.Spec as Spec
|
import Test.Spec as Spec
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.HeadersSpec where
|
module HTTPure.HeadersSpec where
|
||||||
|
|
||||||
import Prelude (bind, discard, pure, ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Class as EffClass
|
import Control.Monad.Eff.Class as EffClass
|
||||||
import Data.StrMap as StrMap
|
import Data.StrMap as StrMap
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.IntegrationSpec where
|
module HTTPure.IntegrationSpec where
|
||||||
|
|
||||||
import Prelude (discard, bind)
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Class as EffClass
|
import Control.Monad.Eff.Class as EffClass
|
||||||
import Test.Spec as Spec
|
import Test.Spec as Spec
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.PathSpec where
|
module HTTPure.PathSpec where
|
||||||
|
|
||||||
import Prelude (pure, unit)
|
import Prelude
|
||||||
|
|
||||||
import Test.Spec as Spec
|
import Test.Spec as Spec
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.RequestSpec where
|
module HTTPure.RequestSpec where
|
||||||
|
|
||||||
import Prelude (bind, discard, pure, show, unit, (<>), ($), (>>=))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Class as EffClass
|
import Control.Monad.Eff.Class as EffClass
|
||||||
import Data.StrMap as StrMap
|
import Data.StrMap as StrMap
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.ResponseSpec where
|
module HTTPure.ResponseSpec where
|
||||||
|
|
||||||
import Prelude (bind, discard, pure, ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Class as EffClass
|
import Control.Monad.Eff.Class as EffClass
|
||||||
import Data.StrMap as StrMap
|
import Data.StrMap as StrMap
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.ServerSpec where
|
module HTTPure.ServerSpec where
|
||||||
|
|
||||||
import Prelude (bind, discard, pure, unit, ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Class as EffClass
|
import Control.Monad.Eff.Class as EffClass
|
||||||
import Data.StrMap as StrMap
|
import Data.StrMap as StrMap
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.SpecHelpers where
|
module HTTPure.SpecHelpers where
|
||||||
|
|
||||||
import Prelude (Unit, bind, discard, pure, unit, ($), (<>), (>>=), (<<<), (<$>))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Aff as Aff
|
import Control.Monad.Aff as Aff
|
||||||
import Control.Monad.Eff as Eff
|
import Control.Monad.Eff as Eff
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.StatusSpec where
|
module HTTPure.StatusSpec where
|
||||||
|
|
||||||
import Prelude (bind, discard, pure, ($))
|
import Prelude
|
||||||
|
|
||||||
import Control.Monad.Eff.Class as EffClass
|
import Control.Monad.Eff.Class as EffClass
|
||||||
import Test.Spec as Spec
|
import Test.Spec as Spec
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module HTTPure.HTTPureSpec where
|
module HTTPure.HTTPureSpec where
|
||||||
|
|
||||||
import Prelude (discard, ($))
|
import Prelude
|
||||||
|
|
||||||
import Test.Spec as Spec
|
import Test.Spec as Spec
|
||||||
import Test.Spec.Reporter as Reporter
|
import Test.Spec.Reporter as Reporter
|
||||||
|
Loading…
Reference in New Issue
Block a user