From: Gerd Stolpmann <gerd@gerd-stolpmann.de>
To: Chris Hecker <checker@d6.com>,
gerd@gerd-stolpmann.de, caml-list@inria.fr
Subject: Re: [Caml-list] semi-colons and begin
Date: Fri, 6 Apr 2001 11:33:54 +0200 [thread overview]
Message-ID: <01040611351009.00489@ice> (raw)
In-Reply-To: <4.3.2.7.2.20010404162926.033b0c00@shell16.ba.best.com>
On Thu, 05 Apr 2001, Chris Hecker wrote:
>>However, in the O'Caml
>>manual there is a precedence table (section 6.7) determining that "if" has
>>higher precedence than ";". So the first way is what the compiler interprets.
>
>Ah, duh! Thank you. Coming from C, it's hard to remember that everything is an expression, so of course the precedence table is the place to look.
>
>> If you have problems I would recommend to use Emacs as editor with one of the
>>two O'Caml modes. It automatically indents the code, so you see:
>
>I do use Emacs and caml-mode (what is the difference between it an tuareg,
>anyway?), but this was all on one line.
I'm a tuareg user, and this mode indents as I said. (Tuareg seems to be more
correct, but is also slower than caml-mode.)
Gerd
--
----------------------------------------------------------------------------
Gerd Stolpmann Telefon: +49 6151 997705 (privat)
Viktoriastr. 100
64293 Darmstadt EMail: gerd@gerd-stolpmann.de
Germany
----------------------------------------------------------------------------
-------------------
To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-04-08 20:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-04 21:33 Chris Hecker
2001-04-04 22:40 ` Gerd Stolpmann
2001-04-04 23:32 ` Chris Hecker
2001-04-05 1:03 ` mahamud
2001-04-05 3:48 ` Brian Rogoff
2001-04-05 6:05 ` David Brown
2001-04-06 9:33 ` Gerd Stolpmann [this message]
2001-04-05 3:35 ` Michael Hicks
2001-04-05 3:53 ` Daniel de Rauglaudre
2001-04-05 6:23 ` Mattias Waldau
2001-04-05 17:34 ` Pierre Weis
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=01040611351009.00489@ice \
--to=gerd@gerd-stolpmann.de \
--cc=caml-list@inria.fr \
--cc=checker@d6.com \
/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