Repository navigation
2.0.0
Breaking Changes:
- Upgrade for Elm 0.18
- Removed
maybeNullin favor ofJson.Decode.nullable - Removed
lazyin favor ofJson.Decode.lazy - Renamed
applytoandMapand reversed arguments toDecoder a -> Decoder (a -> b) -> Decoder bto make it work nicely with(|>)
Additions:
fromResult : Result String a -> Decoder a- convert aResultto aDecoder, helpful inandThencallbacks following the removal ofJson.Decode.customDecoderJson.Encode.Extra.maybe : (a -> Value) -> Maybe a -> Value- encode aMaybe agiven an encoder fora. Thanks to @hendore for this addition.
Other Stuff:
- Code style conforms to elm-format