:: (a -> b) -> [a] -> [b] package:daml-stdlib -is:exact -is:exact -is:exact

`map f xs` applies the function `f` to all elements of the list `xs` and returns the list of results (in the same order as `xs`).
`fmap` takes a function of type `a -> b`, and turns it into a function of type `f a -> f b`, where `f` is the type which is an instance of `Functor`. For example, `map` is an `fmap` that only works on lists. It takes a function `a -> b` and a `[a]`, and returns a `[b]`.
Synonym for `fmap`.
Map a function over a functor. Given a value `as` and a function `f`, `as <&> f` is `f <$> as`. That is, `<&>` is like `<$>` but the arguments are in reverse order.