From: Mark Oteiza <mvoteiza@udel.edu>
To: Tino Calancha <tino.calancha@gmail.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: [ELPA] New package: hap.el
Date: Wed, 01 Mar 2017 08:44:34 -0500 [thread overview]
Message-ID: <87h93dm7r1.fsf@holos> (raw)
In-Reply-To: <8760jtgymr.fsf@calancha-pc> (Tino Calancha's message of "Wed, 01 Mar 2017 18:00:28 +0900")
Tino Calancha <tino.calancha@gmail.com> writes:
> hap.el provides following items:
>
> *) Convert between alist, plist and hash table.
> E.g.:
> (hap-alist-to-hash-table '((1 . 2) (a . b)))
> => #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8125 data (1 2 a b))
>
> *) Define constructors for alist, plist and hash table
> accepting two sequences: KEYS and VALUES.
> E.g.:
> (hap-alist '(1 2) [a b])
> => ((1 . a) (2 . b))
>
> *) Add functions to compare two hash tables.
> E.g.:
(I didn't read carefully, sorry if I'm stating the obvious)
There's already map.el which does some of this and perhaps could be
improved/extended and exposed on ELPA.
Also, some hash-table utility functions live in subr-x.el. Perhaps
some of these would fit there.
Finally, I do remember the following related third party library:
https://github.com/nicferrier/emacs-kv
next prev parent reply other threads:[~2017-03-01 13:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-01 9:00 [ELPA] New package: hap.el Tino Calancha
2017-03-01 13:44 ` Mark Oteiza [this message]
2017-03-01 13:46 ` Stefan Monnier
2017-03-02 6:02 ` Tino Calancha
2017-03-02 6:43 ` Stefan Monnier
2017-03-02 6:52 ` Tino Calancha
2017-03-02 9:03 ` Nicolas Petton
2017-03-02 9:37 ` Tino Calancha
2017-03-02 10:29 ` Nicolas Petton
2017-03-02 12:38 ` Nicolas Petton
2017-03-02 13:07 ` Tino Calancha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h93dm7r1.fsf@holos \
--to=mvoteiza@udel.edu \
--cc=emacs-devel@gnu.org \
--cc=tino.calancha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.