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

Salutations

Matthieu Dubuget

-------------------
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