From: Berke Durak <berke.durak@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Ocaml 4.02.0+dev4-2014-04-03 toplevel: module aliases no longer print module signature
Date: Sun, 27 Apr 2014 09:45:11 -0400 [thread overview]
Message-ID: <20140427134510.GB28200@gmail.com> (raw)
In-Reply-To: <CACLX4jQyr1U27eEooViKS8BCov7fJgcOt6JR_orMUp0+HN6_uA@mail.gmail.com>
On Sun, Apr 27, 2014 at 09:18:26AM -0400, Yaron Minsky wrote:
> Sends preferable behavior to me, since it avoid overly long signatures and
> more clearly reflects the new semantics of module aliases.
If that's the issue, when the toplevel is connected to a tty, it should cut the
output at some point and put an ellipsis. If it's not a tty, it should still
blast the full signature.
I'm surely not the only one who has been relying on module X = Blah to see the
signature of a module. Old habits die hard.
Also module SM = Map.Make(String) still prints the full declaration.
> But it might be nice to have a way to see the contents of a module in the
> toplevel. Maybe steak the #typeof declaration from utop?
How does one print a module signature in utop?
--
Berke Durak
next prev parent reply other threads:[~2014-04-27 13:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-27 12:52 Berke Durak
2014-04-27 13:18 ` Yaron Minsky
2014-04-27 13:45 ` Berke Durak [this message]
2014-04-27 13:58 ` ygrek
2014-04-27 14:19 ` Berke Durak
2014-04-27 14:21 ` Daniel Bünzli
2014-04-27 14:59 ` Berke Durak
2014-04-27 14:34 ` Leo White
2014-04-27 15:02 ` Berke Durak
2014-04-27 14:04 ` Malcolm Matalka
2014-05-03 20:18 ` Richard W.M. Jones
2014-05-03 20:21 ` Anil Madhavapeddy
2014-05-03 22:00 ` Richard W.M. Jones
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=20140427134510.GB28200@gmail.com \
--to=berke.durak@gmail.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