Skip to content

Commit b9c1fe0

Browse files
authored
Merge pull request #78 from purescript/unappy-synonyms
Fix overly-applied synonyms
2 parents f26bbd4 + b75fff5 commit b9c1fe0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Control/Comonad/Store.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import Data.Tuple (Tuple(..), swap)
1919

2020
-- | The `Store` comonad is a synonym for the `StoreT` comonad transformer, applied
2121
-- | to the `Identity` monad.
22-
type Store s a = StoreT s Identity a
22+
type Store s = StoreT s Identity
2323

2424
-- | Unwrap a value in the `Store` comonad.
2525
runStore :: forall s a. Store s a -> Tuple (s -> a) s

src/Control/Monad/Cont.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import Data.Newtype (unwrap)
1818

1919
-- | The `Cont` monad is a synonym for the `ContT` monad transformer applied to
2020
-- | the `Identity` monad.
21-
type Cont r a = ContT r Identity a
21+
type Cont r = ContT r Identity
2222

2323
-- | Creates a computation in the `Cont` monad.
2424
cont :: forall a r. ((a -> r) -> r) -> Cont r a

src/Control/Monad/Except.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import Data.Newtype (unwrap)
3232
-- | further and adds the possibility of a computation failing with an 'empty'
3333
-- | exception; naturally, this requires the stronger constraint of a `Monoid`
3434
-- | instance for the exception type.
35-
type Except e a = ExceptT e Identity a
35+
type Except e = ExceptT e Identity
3636

3737
-- | Run a computation in the `Except` monad. The inverse of `except`.
3838
runExcept :: forall e a. Except e a -> Either e a

0 commit comments

Comments
 (0)