Skip to content

Releases: Philippus/between

v0.6.0

09 Nov 09:23
v0.6.0
d0e5573
Compare
Choose a tag to compare

Highlight in this release

Full Changelog: v0.5.0...v0.6.0

Switch to smart constructor

27 Dec 12:44
5d87c73
Compare
Choose a tag to compare

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

28 Jul 14:48
c0e5f34
Compare
Choose a tag to compare

This release fixes a bug in the contains-method that checks if a supplied point is within an interval.