help-gnu-emacs
[Top][All Lists]
Advanced

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

Is there any default way to append hashes?


From: Jean Louis
Subject: Is there any default way to append hashes?
Date: Mon, 03 May 2021 18:23:30 +0300

I am using this function to append hashes, is there maybe some better
or default method?

(defun hash-append (h1 h2)
  "Append hash H2 to H1 and return H1."
  (maphash (lambda (key value) (puthash key value h1)) h2)
  h1)



Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
https://rms-support-letter.github.io/




reply via email to

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