[Haskell-cafe] Monad of no `return` Proposal (MRP): Moving `return` out of `Monad`
fa-ml at ariis.it
Wed Oct 7 17:48:13 UTC 2015
On Wed, Oct 07, 2015 at 01:34:21PM -0400, Michael Orlitzky wrote:
> 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.
I suspect `cabal install your-library` without CPP would explode in
the face of (some of) your users though.
More information about the Haskell-Cafe