« Return to Thread: how to see operators precedence in GHCi

Re: Re: how to see operators precedence in GHCi

by Bulat Ziganshin-2 :: Rate this Message:

Reply to Author | View in Thread

Hello Jon,

Wednesday, July 25, 2007, 8:07:57 PM, you wrote:
>> Q: how to see operators precedence in GHCi?
>>     In the definition of `it': it = showParen $ (2 + (3 * 4))

> Hmm, OK, but not that much quicker than going
>    Prelude> :info (*)

it just my poor english :)  i mean - "how to see how Haskell will
parse some expression?". it will be too slow to look up each
precedence and parse expression by hand :)

--
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@...

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

 « Return to Thread: how to see operators precedence in GHCi