The code below is supposed to group and nest values as key value pairs, while it does that it also encapsulates the pairs in lists; does anyone know why? See below for code and example (notice the embolden parentheses):
Ari King wrote:The code below is supposed to group and nest values as key value pairs, while it does that it also encapsulates the pairs in lists; does anyone know why? See below for code and example (notice the embolden parentheses):
I figured it out, I had to add "into {} ...". From what I understand, I had to do this because "for" returns a lazy sequence hence the parentheses; thus I need to transform the sequence into a map.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.