Skip to content

1.1.0

Latest
Compare
Choose a tag to compare
@KtorZ KtorZ released this 02 Aug 22:17
· 45 commits to master since this release
a48e967

Added

Cbor

  • New module Cbor exposing a generic CborItem sum-type.

Cbor.Decode

  • New primitives added (see #1):

    keyValueMap : Decoder k -> Decoder v -> Decoder (List ( k, v )) 
    
    array : Decoder a -> Decoder a
    record : Decoder a -> Decoder a
    
    any : Decoder CborItem
    raw : Decoder Bytes

Cbor.Encode

  • New primitives added:

    keyValueMap : (k -> Encoder) -> (v -> Encoder) -> List ( k, v ) -> Encoder
    
    undefined : Encoder
    
    any : CborItem -> Encoder
    raw : Bytes -> Encoder

Changed

N/A

Removed

N/A