rtfeldman / elm-validate

Convenience functions for validating Elm data.
http://package.elm-lang.org/packages/rtfeldman/elm-validate/latest
BSD 3-Clause "New" or "Revised" License
145 stars 28 forks source link

Correcting README.md documentation where Validator constructor has inverted params #19

Closed martinos closed 6 years ago

martinos commented 6 years ago

The Validator type is defined this way:

type Validator error subject
    = Validator (subject -> List error)

The error and the subject are swapped in the README.md file.

rtfeldman commented 6 years ago

Nice catch - thanks @martinos!