
4 Jul
2017
4 Jul
'17
7:05 a.m.
On 03/07/17 17:29, Doug McIlroy wrote:
What do you think of making (++) the same as (<>)
This seems to be a call for returning to the old situation in which (++) was an operator of class MonadPlus. Why was that abolished in Haskell 98?
Doug
Using MonadPlus in this case is not the best idea. There are types that can implement (++) but aren't a Monad. Data.Set is one example.