Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Change order of type parameters to monad transformers? #1305
I suppose there was a reason why type parameters of some monad transformers in scalaz are in different order than in Haskell. For example
StateT[F[_], S, A]
StateT[S, F[_], A]
The latter seems to be a more common order of partial application.
Whatever the reason was, is it still valid?
Now that there's partial unification of type arguments, should we change the type parameter order to the one that's more common?
At least the following types could benefit from different parameter order:
This was referenced
Mar 16, 2017
We can't really reconsider until we no longer support versions of Scala that don't have
I've tagged this for 8 because there are good design cleanup reasons to require