Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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