I am new to clojure and can't really wrap my head around adding to a hashmap without using a typical for loop like other languages would. For example, if I have the following code segment:
(def empty-hashmap {})
(def big-hashmap (assoc empty-hashmap 1 2))
how would I iterate through and add 300 separate elements to the big hashmap? In this case I want my code to look something like
(def empty-hashmap {})
(def big-hashmap (assoc empty-hashmap n (abundance n)))
where n is the numbers 1 to 300 and it populates 300 elements into the big hashmap.