caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pixel <pixel@mandrakesoft.com>
To: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
Cc: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] raise extra arg ignored
Date: 28 Oct 2001 01:44:31 +0200	[thread overview]
Message-ID: <lybsiszm00.fsf@leia.mandrakesoft.com> (raw)
In-Reply-To: <20011027223050.E29934@verdot.inria.fr>

Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr> writes:

> I wonder whether there are situations where it could be a problem?
> Sometimes, a missing semicolon can introduce typing errors or perhaps
> work with different semantics (what is very bad). But here, I don't
> see, since, generally, nobody add another statement after a "raise".
> Does anybody have an example?

well, mine was not a big deal, twas something like this:

  failwith "foo %s bar" (foo bar)

which of course should have been

  failwith (sprintf "foo %s bar" (foo bar))

it didn't take me long to understand what the pb was, but at runtime ;p
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2001-10-27 23:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-27 19:51 Pixel
2001-10-27 20:30 ` Daniel de Rauglaudre
2001-10-27 23:44   ` Pixel [this message]
2001-10-28 19:47   ` Nicolas George
2001-10-29 10:26 ` Xavier Leroy
2001-10-30 21:29   ` Pierre Weis
2001-10-30 22:17     ` Dave Mason
2001-10-31 17:57       ` Daniel de Rauglaudre
2001-10-31 19:09         ` Remi VANICAT
2001-11-01 10:01           ` Daniel de Rauglaudre
2001-11-26 15:12   ` Fergus Henderson

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=lybsiszm00.fsf@leia.mandrakesoft.com \
    --to=pixel@mandrakesoft.com \
    --cc=caml-list@pauillac.inria.fr \
    --cc=daniel.de_rauglaudre@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).