Skip to content

Commit

Permalink
Add Encode.Extra.maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Westby authored Nov 1, 2016
1 parent c95d07c commit 2b8a822
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

**Additions:**
- `fromResult : Result String a -> Decoder a` - convert a `Result` to a `Decoder`, helpful in `andThen` callbacks following the removal of `Json.Decode.customDecoder`
- `Json.Encode.Extra.maybe : (a -> Value) -> Maybe a -> Value` - encode a `Maybe a` given an encoder for `a`. Thanks to @hendore for this addition.

**Other Stuff:**
- Code style conforms to elm-format
Expand Down

0 comments on commit 2b8a822

Please sign in to comment.