* Ocaml-1.06: type system changes
@ 1997-11-20 16:23 Jason Hickey
0 siblings, 0 replies; only message in thread
From: Jason Hickey @ 1997-11-20 16:23 UTC (permalink / raw)
To: caml-list
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-11-21 16:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-20 16:23 Ocaml-1.06: type system changes Jason Hickey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox