
Generics.EMGM.Functions.Map  Portability  nonportable  Stability  experimental  Maintainer  generics@haskell.org 



Description 
Summary: Generic function that applies a (nongeneric) function to all
elements contained in a polymorphic datatype.
map is a generic version of the Prelude map function. It works on all
supported container datatypes of kind * > *. The map function is
equivalent to fmap after deriving Functor if that were possible.


Synopsis 



Documentation 


The type of a generic function that takes a value of one type and returns a
value of a different type.
 Constructors   Instances  



Apply a function to all elements of a container datatype (kind * > *).



Replace all avalues in as with b.



Given a datatype F a b, bimap f g applies the function f :: a > c to
every aelement and the function g :: b > d to every belement. The
result is a value with transformed elements: F c d.


Produced by Haddock version 2.4.2 