Re: [Cbor] Consolidated set of tags for containers

Kio Smallwood <> Tue, 06 April 2021 17:19 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 402853A2997 for <>; Tue, 6 Apr 2021 10:19:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id YUF6cjg3i7cg for <>; Tue, 6 Apr 2021 10:19:54 -0700 (PDT)
Received: from ( [IPv6:2001:8b0:62::26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 94D133A2994 for <>; Tue, 6 Apr 2021 10:19:54 -0700 (PDT)
Received: from ([] helo=Galaxy-S10e.lan) by with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <>) id 1lTpMl-0002kH-Pn; Tue, 06 Apr 2021 18:19:52 +0100
Date: Tue, 06 Apr 2021 18:19:47 +0100
User-Agent: K-9 Mail for Android
In-Reply-To: <>
References: <>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----FVD6AO01LXUP2U03ARXMNCWNC9SZEE"
Content-Transfer-Encoding: 7bit
To:, Emile Cormier <>
From: Kio Smallwood <>
Message-ID: <>
Archived-At: <>
Subject: Re: [Cbor] Consolidated set of tags for containers
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 06 Apr 2021 17:19:56 -0000

I'm quite happy with this. Especially the use of abstract data types. 

I would like to add that Sets already have a tag of 258

Would it be worth considering how to handle multiple tags that fulfil the same role e.g. tag 258 and 144?


On 19 March 2021 00:27:53 GMT, Emile Cormier <> wrote:
>I branched my consolidated map tags proposal to include tags for
>containers. This now lives on the "with-lists" branch on my GitHub
>With the addition of list-like containers, the proposal now contains
>for representing containers like lists, sets and bags.
>Summary of changes:
>* Added "Category" column for either "Dictionary" or "Collection"
>* Added dictionaries with arbitrary keys and uniform values to make
>decoding the traits less insane. This increases the total number of
>from 20 to 24.
>* Removed programming languages section in favor of abstract data types
>that model each tag. Much less maintenance this way.
>I await your comments, critiques, and questions.

Sent from my Android device with K-9 Mail. Please excuse my brevity.