ocaml-batteries-team / batteries-included

Batteries Included project
http://ocaml-batteries-team.github.com/batteries-included/hdoc2/
Other
517 stars 106 forks source link

ISet as functor #559

Open johanmazel opened 10 years ago

johanmazel commented 10 years ago

I would like to suggest a new feature. It would be nice if BatISet was (also) a functor. From my point of view, the type that would by the functor would need to have at least pred and succ. We could thus use this data structure for types such as int32, int64 and so on...

UnixJunkie commented 10 years ago

I guess it should also need the ability to compare values.