"Elvis" operator (?:) as a reverse infix form of "fromMaybe"
Anthony Cowley
acowley at seas.upenn.edu
Sat Oct 12 19:40:53 UTC 2013
> On Oct 12, 2013, at 2:47 PM, Stephen Tetley <stephen.tetley at gmail.com> wrote:
>
>
> I agree, it seems a bit wasteful of operator names to start aliasing things that are already in idiomatic use.
>
> As more get added to Base there are less to play with when you want to design a nice EDSL.
+1 to stemming the operator tide; -1 to Elvis.
The claim such operators make on the space of available identifiers has to be justified.
Prelude gives us 'maybe', and that meets most of my needs by itself.
Anthony
>
>
>> On 12 October 2013 13:48, Christopher Done <chrisdone at gmail.com> wrote:
>> I've never considered writing fromMaybe painful, personally.
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20131012/f20bbced/attachment.html>
More information about the Libraries
mailing list