by Balf · 8y ago · 0 comments
pair :: f a -> f b -> f (a, b)
from which you can derive the rest using pure and fmap
(Although for optimization purposes it can help to also have the other stuff it already has too, in case you want to use an optimized implementation instead of the default implementation.)