orthecreedence / cl-hash-util

A small hash utility library for Common Lisp
MIT License
29 stars 3 forks source link

another hash table building way #16

Open kilianmh opened 2 months ago

kilianmh commented 2 months ago

hash-create and hash are nice, but serapeum:dict is most beautiful (least parentheses). Would you be interested to add a third hash-creation function of this type?

(dict :a 1
      :b 2
      :c 3)

If yes, then is there any name coming to your mind?

orthecreedence commented 2 months ago

If you want to open a PR for this, I'd be happy to merge. Regarding naming, I don't have a preference. You can steal dict if you want, I don't mind ;).

kilianmh commented 2 months ago

How about we call the function ht. Short and still descriptive?

orthecreedence commented 2 months ago

Perfect!