From: Jiri S. <jir...@bl...> - 2008-07-06 10:28:52
|
Albert Graef wrote: > > Why? If '=>' binds stronger than ',' then parens aren't needed there. > The pretty-printer will only insert parens when they are required. > :-o > infix 0 => ; > [1=>1, 2=>2, 3=>3]; <stdin>:2.8-9: syntax error, unexpected infix 0 operator > [(1=>1), (2=>2), (3=>3)]; [1=>1,2=>2,3=>3] > I'd say the interpreter is a bit inconsistent here. Jiri |