This library helps with validation of input forms and it's based on Enrico Buonanno lessons on egghead.io.
Install package usually a way:
elm-package install iodevs/elm-validateexample directory in this repositoryThere is a couple of changes:
for composing two Validators we use (>&&) instead of (>=>)
we added a few functions: isFloat, isPositiveFloat, isInList, isUrl, isValidField and preValidatedField
functions isNatural and isPositiveInt were refactored to isPositiveInt
name of function apply we rewrote on applyValidity