when seq is called on a map, you get a list of pairs -
(seq {:a 4 :b 5})
;; => ([:a 4] [:b 5])
but when apply hashmap is called on the list, it does not give back the hashmap but uses the first pair as the key to the second
is there a built in function that returns a map when given a sequence of pairs?