Skip to content

Instantly share code, notes, and snippets.

Created February 16, 2013 23:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4969185 to your computer and use it in GitHub Desktop.
Save anonymous/4969185 to your computer and use it in GitHub Desktop.
this is my first experimental clojure project. "lein run -m" gives me: "Exception in thread "main" java.lang.ClassNotFoundException: clojure.set, compiling:(incanter/core.clj:2018)" do you know why?
(ns elso.core
(:gen-class)
(:use (incanter core stats charts io datasets))
(:refer-clojure))
(defn foo
"I don't do a whole lot."
[x]
(println x "Hai, World!"))
(defn -main [& args]
(view (histogram (sample-normal 1000))))
(defproject elso "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.4.0"] [incanter "1.2.3-SNAPSHOT"]]
:main elso.core
)
@erdos
Copy link

erdos commented May 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment