Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] record declaration, SML
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: A. Ozmen <aoz@d...>
Subject: [Caml-list] record declaration, SML
Hi,

What's best translation of the following SML type?
datatype t = C of { f : int }

I have to define extra record types, I guess. Then, not including these
types in interface (.mli) files? Is this the right approach?

Thanks.
__________________________________________________________
Get your Private, Free Email from HTTP://www.DmailMan.Com
-------------------
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