From: Chris Hecker <checker@d6.com>
To: caml-list@inria.fr (OCAML)
Subject: Re: [Caml-list] Location in source code
Date: Sun, 27 Jan 2002 23:57:30 -0800 [thread overview]
Message-ID: <4.3.2.7.2.20020127235459.0328a530@arda.pair.com> (raw)
In-Reply-To: <86665ndrym.fsf@speakeasy.org>
>Mathieu> Printf.printf "I had an error in module %s at line %d"
>Mathieu> __MODULE__ __LINE__
>Isn't this what assertions are for?
Except that assertions don't do this either. :) As has been mentioned a bunch of times on the list, assertions in caml only record the file position, and even then they don't seem to handle crlf issues properly on win32.
Anyway, this is a FAQ, search the archive.
Chris
-------------------
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
prev parent reply other threads:[~2002-01-28 7:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-28 3:35 Mathieu Gagne
2002-01-28 4:23 ` Ian Zimmerman
2002-01-28 7:57 ` Chris Hecker [this message]
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=4.3.2.7.2.20020127235459.0328a530@arda.pair.com \
--to=checker@d6.com \
--cc=caml-list@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