|
|
>>> I thought Lisp separates everything with parentheses.
>
>> In Haskell, you say
>
>> abc def ghi
>
> Are those three commands or one command with two arguments?
That's the function "abc" with arguments "def" and "ghi". In more
typical syntax, you would write
abc(def, ghi)
>> In Lisp, you say
>
>> (abc def ghi)
>
> Because, AFAIK, that is the latter.
Indeed.
I suppose the major difference is that in Haskell, you can write
1 + 2
whereas in Lisp, you say
(+ 1 2)
Post a reply to this message
|
|