Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype MultipleOf = MultipleOf {}
- data MultipleOfInvalid = MultipleOfInvalid MultipleOf Scientific
- multipleOfVal :: MultipleOf -> Scientific -> Maybe MultipleOfInvalid
- data Maximum = Maximum {}
- data MaximumInvalid = MaximumInvalid Maximum Scientific
- maximumVal :: Maximum -> Scientific -> Maybe MaximumInvalid
- data Minimum = Minimum {}
- data MinimumInvalid = MinimumInvalid Minimum Scientific
- minimumVal :: Minimum -> Scientific -> Maybe MinimumInvalid
multipleOf
newtype MultipleOf Source #
data MultipleOfInvalid Source #
multipleOfVal :: MultipleOf -> Scientific -> Maybe MultipleOfInvalid Source #
The spec requires "multipleOf"
to be positive.
maximum
data MaximumInvalid Source #
maximumVal :: Maximum -> Scientific -> Maybe MaximumInvalid Source #
minimum
data MinimumInvalid Source #
minimumVal :: Minimum -> Scientific -> Maybe MinimumInvalid Source #