validated-types-0.1.1: Type-level constraints on strings and other input
Refined.Length
Synopsis
data Length p Source #
The length of an input
Instances
Methods
validate :: Length p -> x -> Maybe String #
relax :: Refined (Length m) x -> Refined (Length n) x Source #
type LengthEq n = Length (EqualTo n) Source #
type LengthMax n = Length (LessThanEq n) Source #