Re: What's so great about lisp?
- From: Matthew D Swank <akopa-is-very-much-like-my-mail-address@xxxxx>
- Date: Wed, 05 Oct 2005 20:59:46 -0500
On Wed, 05 Oct 2005 01:28:08 +0100, Jon Harrop wrote:
> # let ident x = x;;
> val ident : 'a -> 'a = <fun>
> # let f x = x x in f ident;;
> - : 'a -> 'a as 'a = <fun>
>
> So I'm not sure about your "un-typable even with recursive types".
Fair enough. I this is because OCaml can use universally quantified
types as well. There do exist untypable examples even so
(see the end of Programming Examples Needing Polymorphic Recursion:
http://itrs04.di.unito.it/papers/hk.pdf).
Matt
--
"You do not really understand something unless you can
explain it to your grandmother." — Albert Einstein.
.
- Follow-Ups:
- Re: What's so great about lisp?
- From: Jon Harrop
- Re: What's so great about lisp?
- References:
- Re: What's so great about lisp?
- From: Jon Harrop
- Re: What's so great about lisp?
- Prev by Date: Re: What's so great about lisp?
- Next by Date: Re: lisp and writing virtual machines..
- Previous by thread: Re: What's so great about lisp?
- Next by thread: Re: What's so great about lisp?
- Index(es):
Relevant Pages
|