New: map
in Python and Haskell
The Python course continues with a discussion of map
(with one iterator argument, or with multiple) and itertools.starmap
. Again the Haskell is very similar, with mostly superficial differences resulting from Python’s arity-based overloading.