I am wondering how to combine two or more different sequences with different types of elements into one list. Like:
(defn combine [vector]
(conj '(remove number? vector) 10))
Here is a test:
(combine [1 2 d g f e ])
This is the error:
CompilerException java.lang.RuntimeException: Unable to resolve symbol: d in this context,
I want to know can use "conj, concat, into" these functions to combine them. Also, I have add quote in front of the list (d g f e), but the error says d cannot be solved. Is anyone help me to figure out this problem? Thank you so much!
:d :g :f :e
, and avoid troubles altogether. - Chris Murphy