Skip to content

Commit

Permalink
Note on use of L.valueOr to provide defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
polytypic committed Oct 15, 2017
1 parent b614516 commit 03367da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ complex. In most cases this change means that uses of `L.define` or
`L.define` and `L.required` now give a warning in case they are used with an
empty value and a matching empty value passes through them redundantly. In
cases where removal of empty values is desired, one can e.g. compose with
`L.defaults`.
`L.defaults`. In cases where some default value is needed, one can e.g. compose
with `L.valueOr`.

Removed previously obsoleted `L.findHint`.

Expand Down

0 comments on commit 03367da

Please sign in to comment.