[Haskell-cafe] Re: how to see operators precedence in GHCi

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Jul 25 13:35:38 EDT 2007


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 at gmail.com



More information about the Haskell-Cafe mailing list