[Haskell-cafe] type (++) = (<>)

Lana Black lanablack at amok.cc
Tue Jul 4 11:05:00 UTC 2017

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.

More information about the Haskell-Cafe mailing list