From: matz@... (Yukihiro Matsumoto) Date: 2004-04-28T08:53:42+09:00 Subject: Re: Semantics of Multiple Values (updated RCR) Hi, In message "Re: Semantics of Multiple Values (updated RCR)" on 04/04/28, Kristof Bastiaensen writes: |Isn't * an array to values converter? |(like in method(1, *[2, 3, 4]))? I don't think so, even with your proposal. If * (splat operator) is an array to values converter, def func1(a,b) [a,b] end func1(1, *[2, 3, 4]) should give [1,2], unless values work like LIST in Perl. |> |* Comparing multiple values |> |* Unify operator |> |> I have to confess I couldn't understand those two proposals, how they |> behave, and how they are useful. | |The idea of comparing multiple values would be a kind of |syntactic sugar. |Instead of writing | x == 1 && y == 2 |you could write | x, y == 1, 2 |(which looks much clearer in my eyes). Not for my eyes. YMMV. I don't feel right to mix comparison operands x, 1, and y, 2. matz.