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] opaque polymorphism
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-09-11 (18:40)
From: j h woodyatt <jhwoodyatt@m...>
Subject: [Caml-list] Re: Phantom types (very long)
So okay... I take it back.  Caml *does* have invariants.  (I'm 
learning.  Slowly.  But I'm learning.)

This "phantom types" design pattern is one I have never seen before.  It 
doesn't seem to be used in the standard library anywhere I can see.  It 
looks like it might be useful in presenting a safer network programming 
interface than the low-level wrappers around BSD sockets (which I've 
never liked).

Are there any other mind-blowingly elegant design patterns lurking in 
the corners of the Caml type inference engine that I should know about?

j h woodyatt <jhw@wetware.com>
"You're standing on sacred ground.  Many strange and wonderful
things have transpired right where you're standing."

Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr