Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
src/berry
test/berry
.gitignore
README.md
project.clj

README.md

HollingBerries Solution in Clojure

A solution in Clojure.

Usage

You'll need Leiningen, a build tool for Clojure.

Leiningen will fetch project dependencies described in the project.clj file.

lein deps

Allows you to run the program, which will generate the pricefile.txt.

lein run

Or start a repl (is it called a prompt in Python?)

lein repl

To run the test:

lein test

UPDATE: I wasn't quite happy with first version and have done a second, which is now available in the namespace 'berry.second - it's slightly shorter and data is nicely separated from the program.

License

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.