From: Geoffrey Alan Washburn <geoffw@cis.upenn.edu>
To: caml-list@inria.fr
Subject: Pretty printing Toploop errors?
Date: Sun, 09 Jul 2006 14:33:35 -0400 [thread overview]
Message-ID: <e8ri60$608$1@sea.gmane.org> (raw)
I'm trying to use Toploop within a program I'm working on and some code
I'm feeding it is causing a type error. Unfortunately, the best I've
been able to figure out is to use Toploop.print_exception_outcome or
Pcaml.report_error which just tell me
Uncaught exception: Typecore.Error (_, _)
Are there any hooks for printing out a useful type error message? Or am
I going to need to compile directly against the type-checking code from
the compiler? Thanks!
next reply other threads:[~2006-07-09 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-09 18:33 Geoffrey Alan Washburn [this message]
2006-07-10 10:54 ` [Caml-list] " Richard Jones
2006-07-10 10:06 Keiko Nakata
2006-07-11 13:16 ` Geoffrey Alan Washburn
2006-07-12 11:15 ` [Caml-list] " Jonathan Roewen
2006-07-12 11:53 ` Geoffrey Alan Washburn
2006-07-30 19:40 ` [Caml-list] " Brian Campbell
2006-08-01 14:36 ` Geoffrey Alan Washburn
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='e8ri60$608$1@sea.gmane.org' \
--to=geoffw@cis.upenn.edu \
--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