Skip to content

Instantly share code, notes, and snippets.

/elso.clj
Created Feb 16, 2013

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

commented May 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.