derive Functor, Foldable, and Traversable instances for Inf
bump version to 0.3.1.0