Skip to content

Commit

Permalink
Merge pull request #2 from purescript/flatten-namespace
Browse files Browse the repository at this point in the history
Flatten namespace to `Effect`
  • Loading branch information
garyb authored Apr 12, 2018
2 parents 012cbe3 + 151bad1 commit a152300
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Control/Monad/Effect.purs → src/Effect.purs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Control.Monad.Effect
module Effect
( Effect
, untilE, whileE, forE, foreachE
) where
Expand Down
4 changes: 2 additions & 2 deletions src/Control/Monad/Effect/Class.purs → src/Effect/Class.purs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module Control.Monad.Effect.Class where
module Effect.Class where

import Control.Category (id)
import Control.Monad (class Monad)
import Control.Monad.Effect (Effect)
import Effect (Effect)

-- | The `MonadEffect` class captures those monads which support native effects.
-- |
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@
-- | callbacks.
-- |

module Control.Monad.Effect.Uncurried where
module Effect.Uncurried where

import Control.Monad.Effect (Effect)
import Effect (Effect)

foreign import data EffectFn1 :: Type -> Type -> Type
foreign import data EffectFn2 :: Type -> Type -> Type -> Type
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module Control.Monad.Effect.Unsafe where
module Effect.Unsafe where

import Control.Monad.Effect (Effect)
import Effect (Effect)

-- | Run an effectful computation.
-- |
Expand Down

0 comments on commit a152300

Please sign in to comment.