CLOVIS
02/17/2020, 10:50 AMfold
on any Functor, but not all operations can be called on it (there needs to be a default value). So it sounds like fold
is defined neither on a category nor on a morphism but on the pair of both of them?raulraja
02/17/2020, 10:59 AMCLOVIS
02/17/2020, 11:13 AMflatMap
or something of the sort?
It looks like (Functor f, Functor g) => f a -> g a
(sorry if the notation is wrong)raulraja
02/17/2020, 11:14 AMraulraja
02/17/2020, 11:14 AMraulraja
02/17/2020, 11:14 AMraulraja
02/17/2020, 11:14 AMraulraja
02/17/2020, 11:15 AMraulraja
02/17/2020, 11:15 AMraulraja
02/17/2020, 11:15 AM