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] IMap and ISet
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-06-22 (11:43)
From: Yamagata Yoriyuki <yoriyuki@m...>
Subject: [Caml-list] IMap and ISet
By the suggestion of Diego Oliver, I implement Map and Set for integers
using Diet.

The interfaces are roughly same to Map and Set in stdlib.  Since they
are used for Unicode, integers are treated as unsigned int.  (So, for
example, ~-1 is treated as the maximal integer.)  If it is not
desirable, change definitions of infix operators in the beginning of
.ml files.

Comments and suggestion are welcome.

Yamagata Yoriyuki

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