Functions A => A
are monoid with identity
as empty
and composition as combine
. Unfortunately I did not find it in cats
library. Does the library provide a monoid instance for these functions ?
What about A => M[A]
, where M
is a monad or applicative ?