Could you post the source code?
On Mar 19, 7:56 am, ubolonton wrote:
> Hi,
>
> Has anyone been able to use Clojure with Robocode?
> I've followed thishttp://www.fatvat.co.uk/2009/05/clojure-and-robocode.html
> but got the error
>
> Round 1 initializing..
> Let the games begin!
> java.lang.Excepti
I looked at the ICFP Contest too. I didn't even get as far as solving
the first problem, but I did implement a virtual machine that appeared
to work. I really enjoyed the coding, though I didn't get very far
with the physics! I tried a couple of approaches but settling on the
functional side.
I'm playing around with neural networks and went for a functional
approach. There's some code at
http://github.com/fffej/ClojureProjects/tree/master
in the neural-networks directory. See
http://www.fatvat.co.uk/2009/06/back-propagation-algorithm-in-clojure.html
for some explanation.
Lack of mu
I'm not understanding re-find.
(re-find #"bar" "bar") => "bar"
whereas
(re-find #"(foo)|(bar)" "foo bar") => ["foo" "foo" nil]
Why does one return a vector and one just the result directly?
Looking at the code, re-find uses re-groups which explicitly says that
it either returns a vector or a