| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Control.Flower.Functor.Strict
Description
Documentation
lift' :: Monad m => (a -> b) -> m a -> m b Source #
A strict version of lift
>>>lift' (+1) <| Just 0Just 1
>>>lift' (lift' (+1)) [[1,2,3],[4,5,6]][[2,3,4],[5,6,7]]
over' :: (a -> b) -> a -> b Source #
Alias for apply', for readability (especially when teaching)
>>>lift' (+1) `over'` Just 0Just 1