Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] enums in OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: leary@n...
Subject: Re: [Caml-list] enums in OCaml?
I'm looking for something that would do the right thing when I do:

printf ( "%d 23", Accelerate );; (* sorry if my syntax is off, I haven't
gotten too far with it yet *)

where "Accelerate" evaluates to an int.
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr