:: (a -> b) -> [a] -> [b] package:base-compat-batteries

Promote a function to a monad.
Strict version of <$>.
Using ApplicativeDo: 'fmap f as' can be understood as the do expression
do a <- as
pure (f a)
with an inferred Functor constraint.