haskell Ranges and some functions allowing things like fast membership lookup on ranges with holes in them and so on.