map -package:ghc -package:dense-linear-algebra package:base-compat-batteries is:exact

Map a function over a NonEmpty stream.