Releases: Philippus/between
Releases · Philippus/between
v0.6.0
Switch to smart constructor
This version switches the existing constructor to a smart constructor. This gets rid of the require
, which can throw exceptions. Using a smart constructor creating an Interval
returns an Option
. This makes needing to handle an unsuccessful creation very explicit.
Fix bug in `contains`-method
This release fixes a bug in the contains
-method that checks if a supplied point is within an interval.