inRange package:deriving-compat

Generates a lambda expression which behaves like inRange (without requiring an Ix instance).