Questions tagged [clojure-contrib]

Extensions and enhancements to the Clojure libraries.

108 questions
-1
votes
1 answer

Concatenating nested vectors along specified dimension

Given two nested vectors x and y, where x is (def x [[1 2] [3 4]]) and y is (def y [[5 6] [7 8]]) How do I concatenate the nested vectors x and y along array the dimension specified by an additional input d? Namely, given x, y and d=1 a sample…
sunspots
  • 1,047
  • 13
  • 29
-2
votes
1 answer

Don't know how to create ISeq from: clojure.lang.Var error

This is the code I write for ant looking for food genetic program. This is the first day I try to learn clojure, clojush, push. When I try to run this code, I get CompilerException java.lang.IllegalArgumentException: Don't know how to create ISeq…
-3
votes
1 answer

how to implement any genetic ant finding food in Push,Clojush,Clojure?

I am trying to use Push,Clojush,Clojure to implement an ant finding food in a 2d map, but I am not sure how to represent map? Could someone give me a example? Thank you.
1 2 3 4 5 6 7
8