relude-0.1.1: Custom prelude from Kowainik

Safe HaskellSafe
LanguageHaskell2010

Relude.Functor.Fmap

Description

This module contains useful functions to work with Functor type class.

Synopsis

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 Functors.

>>> negate <<$>> Just [1,2,3]
Just [-1,-2,-3]