From: yoann padioleau <padator@wanadoo.fr>
To: Thomas Fischbacher <Thomas.Fischbacher@Physik.Uni-Muenchen.DE>
Cc: Oliver Bandel <oliver@first.in-berlin.de>, caml-list@inria.fr
Subject: Re: [Caml-list] Lambda-Term (f x) (x f) translated to Ocaml?
Date: Sat, 1 Apr 2006 01:53:14 +0200 [thread overview]
Message-ID: <422E5B84-EB06-4130-A646-8284DB4ACD19@wanadoo.fr> (raw)
In-Reply-To: <Pine.LNX.4.63.0603312259510.5571@eiger.cip.physik.uni-muenchen.de>
On 31 mars 06, at 23:01, Thomas Fischbacher wrote:
>
>> I guess that this is not a lambda term that can be typed.
>> There are many of them. A famous one is the Y combinator.
>> The _typed_ lambda calculus does not allow all the lambda terms
>> of the (normal) lambda calculus.
>
> # let rec y f = f (y f);;
> val y : ('a -> 'a) -> 'a = <fun>
I know that, but you cheat. This not a lambda calcul Y combinator.
>
> --
> regards, tf@cip.physik.uni-muenchen.de (o_
> Thomas Fischbacher - http://www.cip.physik.uni-muenchen.de/~tf //\
> (lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y) V_/_
> (if (= x 0) y (g g (- x 1) (* x y)))) n 1))
> (Debian GNU)
>
next prev parent reply other threads:[~2006-03-31 23:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-28 0:44 yoann padioleau
2006-03-28 0:55 ` Marius Nita
2006-03-28 1:11 ` Oliver Bandel
2006-03-31 21:01 ` Thomas Fischbacher
2006-03-31 23:53 ` yoann padioleau [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-28 0:07 Oliver Bandel
2006-03-31 20:58 ` [Caml-list] " Thomas Fischbacher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=422E5B84-EB06-4130-A646-8284DB4ACD19@wanadoo.fr \
--to=padator@wanadoo.fr \
--cc=Thomas.Fischbacher@Physik.Uni-Muenchen.DE \
--cc=caml-list@inria.fr \
--cc=oliver@first.in-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).