Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jason Hickey <jyh@cs.cornell.edu>
To: caml-list@inria.fr
Subject: Ocaml-1.06: type system changes
Date: Thu, 20 Nov 1997 11:23:14 -0500	[thread overview]
Message-ID: <347463F2.BCE72D7D@cs.cornell.edu> (raw)

The type system seems to have changed in OCaml 1.06.  The following code
no longer compiles (it compiled in ocaml-1.05):

    type x = x option

Here's the complaint:

% ocamlc -c x.ml
File "x.ml", line 1, characters 4-17:
The type abbreviation x is cyclic

This doesn't seem like a problem with the type theory, since the type
"x" should probably be isomorphic to the natural numbers.  Is there a
reason for the failure?

-- 
Jason Hickey                    Email: jyh@cs.cornell.edu
Department of Computer Science  Tel: (607) 255-4392
Cornell University





                 reply	other threads:[~1997-11-21 16:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=347463F2.BCE72D7D@cs.cornell.edu \
    --to=jyh@cs.cornell.edu \
    --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