>> The names `mzero' and `mfail' are horrible.  I like Ralph's suggestion
>> to change `fail' to `raise' in the IO monad, and use `fail' for
>> `mfail'.  If that doesn't work, try something else, but please
>> pick names that have a simple meaning in English (as with `return')
>> not monsters like `mzero' and `mfail'.  -- P
>
>I don't like grabbing too many very generic names like zero, plus, fail
>from the user (this is all in the Prelude, remember).  I don't want
>to grab 'raise' because we're going to want it for exceptions in Haskell
>2.  I havn't been able to think of anything better than these monsters.

"throw" is another possibility.  Of course, someone might want to use this identifier 
in a continuation monad.

--FC




Reply via email to