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
[Caml-list] CamlIdl possible issue
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-08-16 (21:26)
From: Matthieu Dubuget <matthieu.dubuget@l...>
Subject: Re: [Caml-list] CamlIdl possible issue
Shishir Ramam a écrit :
> It seems that the special casing of the single element is not the best of
> things for my application, since any reference to the element x will have to be
> modified in the Ocaml program depending on whether SOME_VAR is defined or not. 
> IMHO this seems like a bug. Was wondering if there is some other explanation 
> for this.

According to the documentation, this is a design choice.

> Thanks in advance for any help.

If this problem appears not two often you can avoid it by adding your 
own ml2c and c2ml functions using the attributes ml2c and c2ml.

I hope this helps.


Matthieu Dubuget

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: