translatable-intset

Integer sets with a constant time translate operation.

Latest on Hackage:0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed and maintained by Jannis Harder

This package implements integer sets with a constant time translate operation, defined as translate x s = map (+x) s. It is based on Finger-Trees storing differences of consecutive entries of the ordered sequence of set elements.