Functional programming in Python

Arjan van IJzendoorn afie@cs.uu.nl
Tue, 22 May 2001 16:23:25 +0200


> > For humans, it is quite natural to use
> > visual cues (like layout) to indicate semantics.

I agree, but let us not try to do that with just two (already overloaded)
symbols.

>     (let ((a 0)
>           (b 1))
>        (+ a b))

let { a = 0; b = 1; } in a + b

is valid Haskell and the way I use the language. Enough and more descriptive
visual cues, I say.
Using layout is an option, not a rule (although the thing is called layout
rule...)

> But all this is not very constructive, because Haskell is not going to
> change into a fully parenthesized prefix syntax at my wish.

Thank god :-)

Arjan