From: matz@... (Yukihiro Matsumoto) Date: 2000-09-01T16:03:31+09:00 Subject: [ruby-talk:4719] Re: Double parenthesis Hi, In message "[ruby-talk:4699] Double parenthesis" on 00/09/01, Klaus Spreckelsen writes: | |Why is the first line ok, but the second line is not? |ruby -e 'p (( [1].each do puts "hello" end ))' |ruby -e 'p ( [1].each do puts "hello" end )' 1) the latter works on ruby 1.6.0. 2) in the former line, outer parenthesis are for argument list, inner parenthesis are to group expression. It's good to distinguish two kinds of parenthesis. matz.