- Add
withDefault
combinator. - Make
optionally
preserve output of given validator. - Remove redundant
fixV
usage from examples.
-
Add
profunctors
dependency. -
Add
Profunctor
instance forValidator
. -
Rework
Validator
semigroup instance.The new semigroup instance now works similar to the
ValidationRule
semigroup instance. -
Add
Monoid
instance forValidator
. -
Remove
ValidationRule
. -
Remove
Selector
type alias. -
Rewrite all previous
ValidationRule
combinators to work withValidator
s instead. -
Rename
negateRule
->negateV
. -
Rename
falseRule
->failV
. -
Add
fixV
- refer to the documentation for more information. -
Remove
validate
- no longer necessary. -
Rename
labelV
->label
. -
Rename
<??>
-><?>
. Infix precedence 6. -
Remove
label
and<?>
. -
verify
is now an alias to flippedlmap
fromData.Profunctor
, specialized forValidator
s. -
Allow usage with base == 4.12
-
Explicitly constraint smallcheck dependency to 1.2.0+
Initial release.