On 08/01/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Was anyone in that brainstorm thinking of Chung-chieh Shan's
-: and :-
(http://www.haskell.org/pipermail/haskell-cafe/2002-July/003215.html)
It's likely. I don't remember exactly where it came from.
--
-David House, [EMAIL PROTECTED]
__
David House wrote:
:
| You can fake this:
|
| (-!) = ($)
| (!-) = flip ($)
|
| foo -! liftM2 (,) !- bar
|
| Not perfect, but it's interesting nonetheless.
|
| And yes, this was a product of some #haskell
| brainstorming and algorithm tennis. :)
:-)
Was anyone in that brainstorm thinki
On 08/01/07, Greg Buchholz <[EMAIL PROTECTED]> wrote:
...I've also thought it would be nice to be able to say things like...
(foo `liftM2 (,)` bar)
You can fake this:
(-!) = ($)
(!-) = flip ($)
foo -! liftM2 (,) !- bar
Not perfect, but it's interesting nonetheless.
And yes, this was a
tphyahoo wrote:
>
> "Issues: In Haskell, any function or constructor can be enclosed in backticks
> and then used as an infix operator. "
>
> from http://www-users.cs.york.ac.uk/~mfn/hacle/issues/node2.html
>
> But this seems to be contradicted by...
>
> from #haskell
>
> -- 09:19 < tphyahoo>
"Issues: In Haskell, any function or constructor can be enclosed in backticks
and then used as an infix operator. "
from http://www-users.cs.york.ac.uk/~mfn/hacle/issues/node2.html
But this seems to be contradicted by...
from #haskell
-- 09:19 < tphyahoo> > let func = (+) in 1 `func` 2
-- 09: