purescript-deprecated/purescript-monoid

Transformation Monoid

Closed this issue · 3 comments

Is it worth including something like newtype Transformation = Transformation (t -> t) with a Monoid over composition and mempty = id?

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!