On Fri, 6 Nov 1998, Ralf Hinze wrote:
> | Does this mean that code which relies on ++ and do notation with Maybe
> | will stop working?
> ++ is specialized to lists, I'm afraid.

Ok, then I am officially complaining about the elimination of ++ and
MonadPlus.  It is a much more radical change than changing default
default and it will break a lot of MY code at very least.

The existing implementation in hugs allows you to write extremely concise
and clean code.  If I want to replace Maybe in my code with a list 
implementation then I can do that.  You are taking that away!!

Why are you specializing ++ to lists?  Can you at leat leave ++ as a
function in a class like:

> class Concat a where
>  (++)::a->a->a

Or as per my prior mail, define a List class in which I can override ++.

Either way, please please please don't specialize ++ to lists.  It is a
radical and unwarranted change. 

-Alex-

___________________________________________________________________
S. Alexander Jacobson                   i2x Media  
1-212-697-0184 voice                    1-212-697-1427 fax





Reply via email to