Re:Haskell vs. Clojure (2014)
by shiro on Thursday September 15, 2016 @06:06AM
(#12504690)
Right! I tried to construct a terse example in hurry but apparently missed the mark. Usually loop comes handy when conditions and the way to extract values gets more complicated.
1. You could add "using (hash-value v)" in the iteration clause to directly have the value (no gethash).
2. There is maphash too.