Version franēaise
Home     About     Download     Resources     Contact us    
Browse thread
Compiler feature - useful or not?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alain Frisch <alain@f...>
Subject: Re: [Caml-list] Compiler feature - useful or not?
Pierre Weis wrote:
> a private type is not an abstract type but a concrete type.

I guess I got a wrong intuition of the new feature because of the "from" 
function in your example. Is it the case that a value of type "abstract 
int" can always be used as a value of type "int" automatically (you 
mention that it is ok for pattern matching at least)?

-- Alain