0
(defn coord-pairs [coords]
(for [number2 coords]
(for [number coords]
(vector (get coords number2) number)))
)
Выход:Преобразование SEQ в векторный Clojure
(([0 0] [0 1]) ([1 0] [1 1]))
Я хочу, чтобы выходной быть как
[[0 0] [0 1] [1 0] [1 1]]