Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Compiler killer code?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alessandro Baretta <alex@b...>
Subject: Re: [Caml-list] Compiler killer code?


William Lee Irwin III wrote:
> I get this instead:
> 
> # type t = t -> t;;
> The type abbreviation t is cyclic
> 
> Cheers,
> Bill

Here's what I do.

         Objective Caml version 3.04+13 (2002-06-05)

# type t = t -> t ;;
type t = t -> t
# let rec f (x:t) = f f ;;
Interrupted.

Question for the developers: are "-rectypes" automatically 
enabled in the CVS version I am using?

Alex

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners