From: yoann padioleau <padator@wanadoo.fr>
To: 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: Tue, 28 Mar 2006 02:44:55 +0200 (CEST) [thread overview]
Message-ID: <24000351.1143506695382.JavaMail.www@wwinf1608> (raw)
> Hello,
>
> I'm not firm in lambda calculus, what is the lambda-term
> in the subject translated to OCaml?
>
> Is this possible?
the ocaml interpreter dont want this definition
let g f x = (f x) (x f)
and shout:
this expression has type ('a -> 'b) -> 'c -> 'd but is here used with type 'a
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.
>
> P.S.: Also welcome is a "Lambda-Calculus for Dummies" recommendation
> on literature (or web-links). ;-)
>
I liked very much:
G.J.Michaelson, An Introduction to Functional Programming Through Lambda Calculus, Addison-Wesley
now available online from
http://www.macs.hw.ac.uk/~greg/books.html
>
next reply other threads:[~2006-03-28 0:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-28 0:44 yoann padioleau [this message]
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
-- 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=24000351.1143506695382.JavaMail.www@wwinf1608 \
--to=padator@wanadoo.fr \
--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