README.md

# RangeSet
Instead of working with a set of integers [1, 2, 3, 7, 8, 9, 11],
use a set of contiguous ranges [1..3, 7..9, 11..11]

Most of the opperations available on MapSet have an equivalent in RangeSet.

For example

```elixir
assert RangeSet.intersection([1..6], [4..10]) == [4..6]
```

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `rangeset` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:rangeset, "~> 0.1.0"}
  ]
end
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at <https://hexdocs.pm/rangeset>.