- old
Decode.withName
renamed to requireName - old
Decode.withNamespace
renamed to requireNamespace Decode.withName
is now higher-order decoderDecode.withNamespace
is now higher-order decoderDecode.children
accepts predicate that filters children to apply decoder toDecode.child
accepts predicate functionfloat
,int
,date
,bool
signatures changed, now they can be used withDecoder.map
instead ofDecoder.andThen
- a few function parameters reorderings
Decode.select
- useful forDecode.child
andDecode.children
Decode.selectAny
Element
,Node
and other modules are now publicDecode.childElements
decoderDecode.requireSome
helper functionDecode.ok
decoderDecode.error
decoder