From: Hendrik Tews <H.Tews@cs.ru.nl>
To: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] inspecting abstract values in the debugger
Date: Wed, 07 Mar 2007 09:33:20 +0100 [thread overview]
Message-ID: <wwuzm6p5u7j.fsf@tandem.cs.ru.nl> (raw)
In-Reply-To: <0FF9569C-EDF8-4D11-AC9C-B50CAEFE1D7E@cs.uni-sb.de> (Christian Lindig's message of "Tue, 20 Feb 2007 10:43:39 +0100")
Christian Lindig <lindig@cs.uni-sb.de> writes:
In the debugger, abstract values cannot be inspected. This can be
Yes, and the same applies for values inside polymorphic
functions. For instance, inside a List.iter you cannot inspect
the list.
Therefore I'd like to discuss a feature wish: a compiler flag that
makes all type declarations manifest. When compiling a signature
This doesn't solve the problem with polymorphic functions.
I would rather like to see a debugger feature "print value with
this type", where it is the responsibility of the user to supply
the right type. For instance, inside List.iter, you could do
print a : int option
to see the current element of an int option list.
Bye,
Hendrik
next prev parent reply other threads:[~2007-03-07 8:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <A6296BA9-6068-4445-8CD6-94BF835F2814@cs.uni-sb.de>
2007-02-20 9:43 ` Christian Lindig
2007-03-07 8:33 ` Hendrik Tews [this message]
[not found] <20070220094543.EE684BC76@yquem.inria.fr>
2007-02-20 10:04 ` [Caml-list] " David Allsopp
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=wwuzm6p5u7j.fsf@tandem.cs.ru.nl \
--to=h.tews@cs.ru.nl \
--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