Re: What's so great about lisp?
- From: Joe Marshall <jmarshall@xxxxxxxxxxxx>
- Date: Tue, 04 Oct 2005 21:35:45 -0400
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)
.
- Follow-Ups:
- Re: What's so great about lisp?
- From: Jon Harrop
- Re: What's so great about lisp?
- From: Duane Rettig
- Re: What's so great about lisp?
- Prev by Date: Re: What's so great about lisp?
- Next by Date: CLOS question
- Previous by thread: Re: What's so great about lisp?
- Next by thread: Re: What's so great about lisp?
- Index(es):