On Fri, 2007-06-22 at 07:40 -0400, zuzu wrote:
> hmm... technically, I'm not sure how this is different from most other
> programming languages... operators and statements are just "weird"
> functions, AFAIK. (of course, the fact that languages such as C are
> implemented to make these very difficult to interchange is another
> matter. ultimately that's something of a "turing complete" debate,
> but I think we're concerned with syntactic/human ease here.)
True, for example in haskell
1 + 2
is the same as
(+) 1 2
and
frob 1 2
is the same as
1 `frob` 2
It is just syntactic sugar to help people with natural languages that
evolved with funny word order :)
alex
Received on Sat Jun 23 2007 - 08:33:45 BST