Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Maps & min/max key...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] Maps & min/max key...
Hi,

I'm surprised the Map module doesn't expose something similar to
min_elt/max_elt in the Set module, as they're basically the same to
me.

Could they be added? I have a problem that initially looked best
handled as a set, but turns out a map would be better, but I need to
get and also remove the minimum key =/

Jonathan