Re: Supplying Arguments to Function That conj's map

2011-06-30 Thread octopusgrabbus
Fixed by doing this: (defn map-mtr [read-map premid reading] (conj read-map {premid reading})) On Jun 30, 11:11 am, octopusgrabbus wrote: > I have a sequence > > (def mtr-seq ["a" 1 "b" 2 "c" 3 "d" 4]) > > and a function > > (defn map-mtr >         [read-map premid reading] >  

Supplying Arguments to Function That conj's map

2011-06-30 Thread octopusgrabbus
I have a sequence (def mtr-seq ["a" 1 "b" 2 "c" 3 "d" 4]) and a function (defn map-mtr [read-map premid reading] (conj :read-map {:premid reading})) I do not understand how to select the first and second of the sequence to be put into mtr-seq. This (map-mtr [mtr-map][(first mt