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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-06-16 (17:10)
From: Shishir Ramam <sramam@y...>
Subject: [Caml-list] Using Ocaml keywords as structure members.

I am interesting in converting a data-structure from 
C to Ocaml using CamlIdl. I am running into some 
trouble because one of the structure members is 
named "end". 

# type a_test = {
   start: int;
   end:   int;
Characters 34-37:
     end:   int;
Syntax error

Apart from renaming the structure member in 
C (3rd party, lotsa work!), is there anything else
that I can do?

thanks in advance for all help.

Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard. 

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