Proposal: infixr 9 `Compose`

Bas van Dijk v.dijk.bas at
Fri Aug 30 17:44:57 CEST 2013

I was just bitten by the fact that the type constructor Compose from
Data.Functor.Compose associates to the left instead of to the right
like function composition.

I would like to propose adding the following to Data.Functor.Compose:

  infixr 9 `Compose`   -- analogous to the fixity of (.)

This will likely break existing code which uses Compose infix like in
the following type:

  a `Compose` b `Compose` c

Discussion deadline: 13 September 2013.


More information about the Libraries mailing list