From: Logan Capaldo Date: 2005-06-02T20:41:38+09:00 Subject: Re: ternary operator confusion On 6/1/05, Eric Mahurin wrote: > For comparision here ways that some languages make > function/method/procedure/command calls: > > function/method/procedure/command: f > arguments: a, b > > `f a b` shells (bash also supports "$(f a b)") > [f a b] tcl > (f a b) lisp > f(a,b) most other languages including perl and ruby > f a,b alternate for perl and ruby > Just to add to this list: f a b languages with ML derived syntaxes (eg SML, Haskell, etc.) a b f Forth, Postscript [obj message: arg1 withSomeArg: arg2]; Objective-C (Smalltalk as well if you drop the [] I think) I can't think of any other syntaxes for this.