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
Private type syntax and error message
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-09-12 (13:43)
From: Colonna Francois <f.colonnacesari@f...>
Subject: Private type syntax and error message

if, as I found in the documentation, I write :
# type my_int = private int;;

I get the message : "This fixed type is not an object or variant"

1. The message is very obscure
2. why this syntax is not implemented as it should be ?


François Colonna