English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] ocaml internal representation
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-13 (16:34)
From: Jakob Lichtenberg <jl@i...>
Subject: [Caml-list] ocaml internal representation
In O'Caml the types are compiled away, right?

Then, is there actually a performance/memory overhead in replacing:
  type coord = int * int

  type coord = Coord of (int * int)

Is it recognized as a 'reasonable' way to get the type system to help me not
mixing up stuff (except for signatures of course)?

Slightly more general:  Did I miss any doc. about this in the O'Caml manual?


- Jakob Lichtenberg

Jakob Lichtenberg - jl@itu.dk - http://www.itu.dk/people/jl/

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