emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: map.el and naming


From: Nicolas Petton
Subject: Re: map.el and naming
Date: Wed, 04 Mar 2015 08:51:50 +0100

bburns.km writes:

> assoc would make sense, as it's for an associative array data type, though it
> might be a bit confusing as it's also the name of a function. 
>
> From the definition,
>
> | A map (aka associative array, dictionary, symbol table) is an abstract
> data type composed of a collection of (key, value) pairs, such that each
> possible key appears at most once in the collection. 
>
> another possibility would be kv.el, for key-value - e.g. you sometimes hear
> them referred to as key-value stores. Then kv-map, kv-keys, kv-values, etc.
> Or keyvalue.el, then keyvalue-map, keyvalue-keys, etc.

I thought about that, but assoc.el and kv.el already exist.

Nico
-- 
Nicolas Petton
http://nicolas-petton.fr

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]