POV-Ray : Newsgroups : povray.off-topic : Haskell humour : Re: Haskell humour Server Time
7 Sep 2024 05:13:21 EDT (-0400)
  Re: Haskell humour  
From: Orchid XP v8
Date: 1 Oct 2008 16:33:01
Message: <48e3de7d$1@news.povray.org>
>>> (+ 1 i) or ((lambda (x) (* x x)) 3)
>>
>> I'm having trouble seeing which thing a given subexpression is the 
>> argument to. To do that, you have to count brackets. It's not 
>> impossible, just not very easy.
> 
> Lispers just forget the parentheses and look at the indented code. 
> Parentheses are only important for macros and structured editing.

Well, if you already know how many parameters each function takes, that 
could work. It still doesn't help when multiple parameterisations are 
valid though...

(Also, the example you mosted has some fairly unhelpful indentation in it.)

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

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