From: Thomas Fischbacher <tf@functionality.de>
To: caml-list@inria.fr
Subject: Is this a bug?
Date: Tue, 01 May 2007 13:59:11 +0100 [thread overview]
Message-ID: <4637399F.6010103@functionality.de> (raw)
If we look at the following piece of code:
===>
type dof_region_spec = (string * bool * (int option array)) array;;
type opt_field_restriction = dof_region_spec option;;
let make_field ?(name="Field") ?restriction ?constant_value mwe =
let restriction:opt_field_restriction = restriction in
failwith "FOO";;
<===
...then make_field types as:
===>
val make_field :
?name:string -> ?restriction:<hidden> -> ?constant_value:'a -> 'b -> 'c
<===
The <hidden> actually should not show up here. What is going on?
--
best regards,
Thomas Fischbacher
tf@functionality.de
next reply other threads:[~2007-05-01 12:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-01 12:59 Thomas Fischbacher [this message]
2007-05-01 13:34 ` [Caml-list] " Eric Cooper
2007-05-02 0:25 ` Jacques Garrigue
2007-05-02 0:50 ` Thomas Fischbacher
2007-05-02 2:40 ` Jacques GARRIGUE
-- strict thread matches above, loose matches on Subject: below --
2006-05-09 13:09 is this a bug ? Christophe Raffalli
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=4637399F.6010103@functionality.de \
--to=tf@functionality.de \
--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