v0.65.0
✨ New
BoundedEnum.inverseMap*
functions- Given an enumeration with a
BoundedEnum
instance, and a function'e => 'a
, create a function which can perform an inverse lookup from'a
tooption('e)
- Requires an equality function/
Eq
module or a compare function/Ord
module in order to do the lookup comparisons for the'a
value - See #278 and #288
- Thanks @austindd!
- Given an enumeration with a