Returns a codec that validates encoded and decoded values are contained by the specified interval.
Returns a codec that validates encoded and decoded values are contained by the specified interval. Values outside the interval result in errors being returned from encode/decode.
interval for which to bound values
(Since version 1.7.0) Use widenOpt instead
Provides enrichments for
Codec[A]
related to Spire.