Skip to content

Commit

Permalink
switch tag from 19 to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
dingxiangfei2009 committed May 8, 2019
1 parent f69e49b commit 6185c96
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions standard/binary.md
Expand Up @@ -513,7 +513,7 @@ Record projection by type is encoded as follows:

encode(t₀) = t₁ encode(T₀) = T₁
─────────────────────────────────
encode(t₀.(T₀)) = [ 19, t₁, T₁ ]
encode(t₀.(T₀)) = [ 9, t₁, T₁ ]


### Unions
Expand Down Expand Up @@ -1212,7 +1212,7 @@ Similarly, decode a CBOR array beginning with a `` as a record projection by typ

decode(t₁) = t₀ decode(T₁) = T₀
─────────────────────────────────
decode([ 19, t₁, T₁]) = t₀.(T₀)
decode([ 9, t₁, T₁]) = t₀.(T₀)


A decoder MUST NOT attempt to enforce uniqueness of keys. That is the
Expand Down
@@ -1 +1,2 @@
{=}
{=}

@@ -1 +1,2 @@
{ a = 10, b = Some 10 }
{ a = 10, b = Some 10 }

0 comments on commit 6185c96

Please sign in to comment.