POV-Ray : Newsgroups : povray.off-topic : My hypothesis : Re: My hypothesis Server Time
29 Jul 2024 22:24:14 EDT (-0400)
  Re: My hypothesis  
From: Invisible
Date: 6 Sep 2011 11:37:42
Message: <4e663e46$1@news.povray.org>
>>>     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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.