[Haskell-cafe] Should `(flip (^^))` work?

2008-09-15 Thread Mauricio
Hi, I tested the expression below and it doesn't work. Is there some way to achieve that (i.e., turning an expression inside parenthesis into an operator)? 2 `(flip (^^))` (3%4) Thanks, MaurĂ­cio ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Should `(flip (^^))` work?

2008-09-15 Thread Derek Elkins
On Mon, 2008-09-15 at 18:42 -0300, Mauricio wrote: Hi, I tested the expression below and it doesn't work. Is there some way to achieve that (i.e., turning an expression inside parenthesis into an operator)? 2 `(flip (^^))` (3%4) No it shouldn't work. The fact that the opening and

Re: [Haskell-cafe] Should `(flip (^^))` work?

2008-09-15 Thread Rafael C. de Almeida
Derek Elkins wrote: On Mon, 2008-09-15 at 18:42 -0300, Mauricio wrote: Hi, I tested the expression below and it doesn't work. Is there some way to achieve that (i.e., turning an expression inside parenthesis into an operator)? 2 `(flip (^^))` (3%4) No it shouldn't work. The fact that

Re: [Haskell-cafe] Should `(flip (^^))` work?

2008-09-15 Thread wren ng thornton
Mauricio wrote: Hi, I tested the expression below and it doesn't work. Is there some way to achieve that (i.e., turning an expression inside parenthesis into an operator)? 2 `(flip (^^))` (3%4) Another solution if you don't like defining extra (-|) and (|-) operators is: ($2) (flip