[Haskell-cafe] Monad of no `return` Proposal (MRP): Moving `return` out of `Monad`

David Thomas davidleothomas at gmail.com
Wed Oct 7 19:50:43 UTC 2015

This sounds like the right approach.  To whatever degree existing
tooling makes this difficult, maybe we can fix existing tooling?

On Wed, Oct 7, 2015 at 10:34 AM, Michael Orlitzky <michael at orlitzky.com> wrote:
> (replying to no one in particular)
> This problem isn't specific to Haskell. In every other language, you
> have projects that support major versions of toolkits, compilers,
> libraries and whatnot. And there's already a tool for it: git.
> Instead of using #ifdef to handle four different compilers, keep a
> branch for each. Git is designed to make this easy, and it's usually
> trivial to merge changes from the master branch back into e.g. the
> ghc-7.8 branch. That way the code in your master branch stays clean.
> When you want to stop supporting an old GHC, delete that branch.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list