From: Paul Stodghill <stodghil@cs.cornell.edu>
To: caml-list@pauillac.inria.fr
Subject: Re: Type-checking bug (or feature?) in O'Caml 1.06
Date: 18 Nov 1997 14:05:56 -0500 [thread overview]
Message-ID: <mlzpn2rpij.fsf@mario.cs.cornell.edu> (raw)
In-Reply-To: Paul Stodghill's message of "18 Nov 1997 13:57:31 -0500"
The new behavior is even more bizarre than I had first thought.
---------------------------------------------------------------------------
% cat foo.mli
type ('a, 'b) t;;
val iter: ('a -> 'b -> 'unit) -> ('a, 'b) t -> unit
% ocamlc -v -i -c foo.mli
The Objective Caml compiler, version 1.06
Standard library directory: /home/stodghil/usr/sparc-solaris/lib/ocaml
type ('a, 'b) t
val iter : ('a -> 'b -> 'c) -> ('a, 'b) t -> unit
%
---------------------------------------------------------------------------
Why is the generated type different than the declared type?
--
Paul Stodghill <stodghil@cs.cornell.edu>
http://www.cs.cornell.edu/home/stodghil/home.html
next prev parent reply other threads:[~1997-11-19 9:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-18 18:57 Paul Stodghill
1997-11-18 19:05 ` Paul Stodghill [this message]
1997-11-19 9:39 ` Pierre Weis
1997-11-19 9:24 ` Pierre Weis
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=mlzpn2rpij.fsf@mario.cs.cornell.edu \
--to=stodghil@cs.cornell.edu \
--cc=caml-list@pauillac.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