Copyright | (c) 2016 Stephen Diehl (c) 2016-2018 Serokell (c) 2018-2020 Kowainik |
---|---|
License | MIT |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Stability | Stable |
Portability | Portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This module contains useful functions to work with Functor
type class.
Documentation
(<<$>>) :: (Functor f, Functor g) => (a -> b) -> f (g a) -> f (g b) infixl 4 Source #
Alias for fmap . fmap
. Convenient to work with two nested Functor
s.
>>>
negate <<$>> Just [1,2,3]
Just [-1,-2,-3]