Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Frustrated Beginner
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Brown <caml-list@d...>
Subject: Re: [Caml-list] Frustrated Beginner
On Tue, Dec 23, 2003 at 05:20:04PM +0100, Sven Luther wrote:

> Mmm, not really convinced. For me ;, is a shortcut for :
> 
>   let () = ... in
> 
> Actually, i believe that both constructs result in the exact same code.

Plus there are some places where let () = ... in makes things easier,
since it allows multiple expressions after a then or else without
needing a begin/end wrapping.

Dave

-------------------
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