Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] Let-in vs beta-redex
@ 2003-09-01 16:15 Lukasz Stafiniak
  2003-09-01 18:09 ` John Gerard Malecki
  2003-09-02 10:26 ` Michal Moskal
  0 siblings, 2 replies; 3+ messages in thread
From: Lukasz Stafiniak @ 2003-09-01 16:15 UTC (permalink / raw)
  To: caml-list

Hi,

Is let-in more efficient than beta-redex or are they computationally
equivalent? Is let-in a syntax-sugar of beta-redex?

E.g.

let x = sin 2. in x *. x *. x;;

(fun x -> x *. x *. x) (sin 2.);;

Thank You in advance,
Kindest Regards,
Lukasz



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-02 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-01 16:15 [Caml-list] Let-in vs beta-redex Lukasz Stafiniak
2003-09-01 18:09 ` John Gerard Malecki
2003-09-02 10:26 ` Michal Moskal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox