File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import Data.Tuple (Tuple(..), swap)
19
19
20
20
-- | The `Store` comonad is a synonym for the `StoreT` comonad transformer, applied
21
21
-- | to the `Identity` monad.
22
- type Store s a = StoreT s Identity a
22
+ type Store s = StoreT s Identity
23
23
24
24
-- | Unwrap a value in the `Store` comonad.
25
25
runStore :: forall s a . Store s a -> Tuple (s -> a ) s
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import Data.Newtype (unwrap)
18
18
19
19
-- | The `Cont` monad is a synonym for the `ContT` monad transformer applied to
20
20
-- | the `Identity` monad.
21
- type Cont r a = ContT r Identity a
21
+ type Cont r = ContT r Identity
22
22
23
23
-- | Creates a computation in the `Cont` monad.
24
24
cont :: forall a r . ((a -> r ) -> r ) -> Cont r a
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import Data.Newtype (unwrap)
32
32
-- | further and adds the possibility of a computation failing with an 'empty'
33
33
-- | exception; naturally, this requires the stronger constraint of a `Monoid`
34
34
-- | instance for the exception type.
35
- type Except e a = ExceptT e Identity a
35
+ type Except e = ExceptT e Identity
36
36
37
37
-- | Run a computation in the `Except` monad. The inverse of `except`.
38
38
runExcept :: forall e a . Except e a -> Either e a
You can’t perform that action at this time.
0 commit comments