English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
new emacs tuareg mode release
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-05-29 (13:16)
From: David Baelde <david.baelde@e...>
Subject: Re: [Caml-list] New emacs tuareg mode
On Thu, May 27, 2010 at 6:01 PM, Edgar Friendly <thelema314@gmail.com> wrote:
> Your first code block is a good example of non indented [let] blocks looking
> good.  Your second example should be indented as follows to clarify its
> actual structure:
> if blah then
>  f () ;
> g () ;
> h ()

Right, this was a bad example, and I can't think of a good one. Maybe
indentation can't help with that tricky syntax after all, and all I
can say is "I prefer the way it looks that way" (which is no surprise
since I've been learning OCaml under Tuareg).