Re: What's so great about lisp?



tar@xxxxxxxxxxxxx (Thomas A. Russ) writes:

> Jon Harrop <usenet@xxxxxxxxxxxxxx> writes:
>
>> Ok. If I wrote a 2 page program I wouldn't assert that it was wrong. If the
>> static type checker was happy with it then I'd assert that it was probably
>> right.
>
> int fact (int i) {
> if (i==0) {
> return 1;
> } else {
> return i * fact(i);
> }
> }
>
> The type checker is perfectly happy. :)

I like this example:

(defun sort (x predicate)
x)
.