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

Michael Orlitzky michael at orlitzky.com
Fri Oct 9 14:37:33 UTC 2015


On 10/09/2015 10:32 AM, Taru Karttunen wrote:
>>
>>     You can do this with no extra tooling, the only extra work is to run
>> seven commands instead of one at publishing time:
>>
>>    git checkout ghc-7.8
>>    git merge master
>>    cabal upload
>>    git checkout ghc-7.10
>>    git merge master
>>    cabal upload
>>    git checkout master
> 
> And then GHC 8.0 is released and your library is broken until you
> update the cabal file or add a new branch. Which means that all
> libraries depending on your library refuse to build...
> 
> This would mean that all libraries would need a new release
> on each GHC major version? Oh and testing your library on
> HEAD before release? Not supported? Using any library depending
> on your library before the release?
> 

This has nothing to do with git. You have that problem anyway. Don't
want a version bound on your latest branch? Don't put one there.


More information about the Haskell-Cafe mailing list