Safe Haskell | Safe |
---|---|

Language | Haskell2010 |

- lift2' :: Monad m => (a -> b -> c) -> m a -> m b -> m c
- (<!$*) :: Monad m => (a -> b -> c) -> m a -> m b -> m c
- (*$!>) :: Monad m => m a -> (a -> b -> c) -> m b -> m c
- (<!$**) :: Monad m => (a -> b -> c -> d) -> m a -> m b -> m c -> m d
- (**$!>) :: Monad m => m a -> (a -> b -> c -> d) -> m b -> m c -> m d

# Documentation

lift2' :: Monad m => (a -> b -> c) -> m a -> m b -> m c Source #

An alias for `lift2`

, updating with unified "lift" naming

`>>>`

Just 5`lift2' (+) (Just 4) (Just 1)`

(<!$*) :: Monad m => (a -> b -> c) -> m a -> m b -> m c infixr 4 Source #

Right-associative, left-flowing `lift2'`

operator

`>>>`

Just 5`(+) <!$* Just 4 |< Just 1`

(*$!>) :: Monad m => m a -> (a -> b -> c) -> m b -> m c infixl 4 Source #

Left-associative, right-flowing `lift2'`

operator

`>>>`

Just 5`Just 1 >| Just 4 *$!> (+)`