Transformation Monoid
Closed this issue · 3 comments
matthewleon commented
Is it worth including something like newtype Transformation = Transformation (t -> t) with a Monoid over composition and mempty = id?
garyb commented
matthewleon commented
Oh dear. Time to seriously up my (nonexistent) category theory game. Thanks.
garyb commented
If you're looking for the type you're half way there!