Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vatine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
vatine
7y ago
OTOH, a more idiomatic version would be (and I would consider using the loop facility to be idiomatic): (defun count (pair-list) (let ((hash (make-hash-table))) (loop for (val key) in pair-list do (incf (gethash key ha