caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: Fernando Alegre <fernando@cc.gatech.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] empty type
Date: Tue, 20 Feb 2007 01:14:04 +1100	[thread overview]
Message-ID: <1171894444.5356.18.camel@rosella.wigram> (raw)
In-Reply-To: <20070219134738.GA26859@gaia.cc.gatech.edu>

On Mon, 2007-02-19 at 08:47 -0500, Fernando Alegre wrote:
> Hi,
> 
> I think this is a bug, but I'm not sure. I mistakenly defined type e using
> Haskell notation, and it was accepted. However, it shadowed the unit type.
> Can someone confirm whether this should be acceptable or not?
> 
> Thanks.
> 
>         Objective Caml version 3.09.2
> 
> # type e = ();;

What? That sure looks like a bug. () is a value of type unit ..
it isn't a type.

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net


  reply	other threads:[~2007-02-19 14:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-19 13:47 Fernando Alegre
2007-02-19 14:14 ` skaller [this message]
2007-02-19 14:23   ` RE : [Caml-list] " Mathias Kende
2007-02-19 16:03     ` Andrej Bauer
2007-02-19 20:51       ` Fernando Alegre
2007-02-20  9:05       ` Bruno De Fraine
2007-02-19 22:36 ` Richard 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=1171894444.5356.18.camel@rosella.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    --cc=fernando@cc.gatech.edu \
    /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;
as well as URLs for NNTP newsgroup(s).