[Haskell-cafe] why can't you surround (+) in backticks and have
brianh at metamilk.com
Mon Jan 8 15:51:27 EST 2007
tpledger at ihug.co.nz wrote:
> David House wrote:
>> You can fake this:
>> (-!) = ($)
>> (!-) = flip ($)
>> foo -! liftM2 (,) !- bar
> Was anyone in that brainstorm thinking of Chung-chieh Shan's
> -: and :-
> or was the similarity just a really cool coincidence?
I hope no-one seriously thinks the above syntax is clearer than:
liftM2 (,) foo bar
Operators: one small step for compilers, one giant leap for obfuscation.
More information about the Haskell-Cafe