[bitc-dev] OCaml syntax question

Jonathan S. Shapiro shap at eros-os.com
Thu Mar 5 11:52:54 EST 2009


This is the obverse problem, but there is a visual clue here: two
statements not surrounded by curly braces should never be indented at
the same level.

And clearly we could run emacs and get the OCaml let bindings indented
correctly. The right question: why is the OCaml community apparently
failing to do so ten years later?

On Thu, Mar 5, 2009 at 11:48 AM, Florian Weimer <fw at deneb.enyo.de> wrote:
> * Geoffrey Irving:
>
>> How is this different from C?
>
> I think C is the wrong comparison becaue C allows things like:
>
>   if (cond)
>       f ();
>       g ();
>   h ();
>
> Ocaml and Standard ML suffer from this problem, too.
> _______________________________________________
> bitc-dev mailing list
> bitc-dev at coyotos.org
> http://www.coyotos.org/mailman/listinfo/bitc-dev
>
>


More information about the bitc-dev mailing list