From: John Skaller <skaller@maxtal.com.au>
To: Hendrik Tews <tews@tcs.inf.tu-dresden.de>, caml-list@inria.fr
Subject: Re: Diagnostic bug?
Date: Sat, 31 Jul 1999 00:55:26 +1000 [thread overview]
Message-ID: <3.0.6.32.19990731005526.009886b0@mail.triode.net.au> (raw)
In-Reply-To: <199907271534.RAA15742@ithif20.inf.tu-dresden.de>
At 17:34 27/07/99 +0200, Hendrik Tews wrote:
>Hi,
>
>as an answer to John I am just telling my heuristics to track
>down type errors:
[...]
>Therefore my strategy is to add type annotations at the first use
>of the problematic identifiers,
Ah, thank you! This is a good rule.
>John Skaller writes:
>
> In my actual code, I got an error
> in a 5000 character expression, and it took three
> days to figure out the error wasn't in that expression
> at all.
>
>You are right, error reporting is one of the weak points of the
>ocaml system.
Error reporting is a 'higher order' function
of a compiler: it is the weakest part of almost all
compilers. In fact, I find ocaml error reporting
quite reasonable compared with other systems.
For example, just try tracking down errors in
complex template instantiations in C++.
-------------------------------------------------------
John Skaller email: skaller@maxtal.com.au
http://www.maxtal.com.au/~skaller
phone: 61-2-96600850
snail: 10/1 Toxteth Rd, Glebe NSW 2037, Australia
prev parent reply other threads:[~1999-08-12 9:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-18 18:57 optimization and purity Markus Mottl
1999-07-22 6:51 ` Diagnostic bug? John Skaller
1999-07-27 15:34 ` Hendrik Tews
1999-07-30 14:55 ` John Skaller [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=3.0.6.32.19990731005526.009886b0@mail.triode.net.au \
--to=skaller@maxtal.com.au \
--cc=caml-list@inria.fr \
--cc=tews@tcs.inf.tu-dresden.de \
/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