On Tue, 7 Sep 2004, Juerd wrote: > John Williams skribis 2004-09-07 11:37 (-0600): > > > and postfix:'th? It's 80s and postfix:th! > > Probably to help separate the term from the postfix operator. > > @array[ $foo'th ]; > > Maybe what I'm saying now is a really bad idea, because it doesn't make > sense, but can't we just have an adverb that changes an integer into an > ordinal? > > 4 :th > $foo :th
No. Adverbs modify verbs (operators or functions), not terms like 4 or $foo. > Obviously, the : should be optional for literal integers: > > 4th > 3th Yes, because 3 and th parse as different tokens.