I am very new to clojure and the syntax is pretty rough. I’m trying to destructure a vector of vectors.
This is the output from a function I use:
[[:b 2 3] [:b 3 7] [:b 9 8]]
But, what I would like it to do is display the output like so:
[:b 2 3] [:b 3 7] [:b 9 8]
Basically, trying to get rid of those out-most brackets. Is this possible? Any help is appreciated 🙂
If you just want the specified output, you can certainly massage things that way:
does the trick. As for destructuring, if you had a function
fwhich returned[[:b 2 3] [:b 3 7] [:b 9 8]], you could use destructuring as follows: