|
 |
Darren New escreveu:
> nemesis wrote:
>> (o inc sqr inc)
>
> This level of notation, without the parens, is where I always get lost
> trying to understand SML. The presence of parens shows what's an
> argument and what's a function, in ways that mixing binary and unary
> operators that are spelled the same way as variables doesn't.
That's a problem with languages that permit such ambiguities. There
simply is no ambiguity in Lisp expressions. Also, Scheme has a single
namespace for functions and variables, so you can't have a single
identifier for both and resolve ambiguity by context. It's a remarkably
homogenous language.
Post a reply to this message
|
 |