Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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

with:
  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?

Thanks,

- 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