Randy Kramer <rhkramer / gmail.com> writes:
> Anyway, I remember RPN (Reverse Polish Notation) which is like 3 3 +
>
> I remember infix (notation?) (which is like 3 + 3 =)
>
> Then I remember there was the "inverse" of RPN, which is like + 3 3 
> (iirc)--is that what you're calling Polish notation (it makes sense, 
> just wasn't sure)

Would the "inverse" of reverse polish notation be polish notation?

[3,3,:+].inverse -> undefined method `inverse' for [3, 3, :+]:Array

Seems that's nonsense...  On the other hand:

[3,3,:+].reverse -> [:+, 3, 3]


-- 
__Pascal Bourguignon__