Re: Different behavior at REPL vs compiled code

2012-05-19 Thread Ankit Goel
teger/parseInt n) ] > and then use k from then onas Ankit said, arguments passed from cmd > are always strings... > > Jim > > On 18/05/12 07:39, Ankit Goel wrote: > > > > > > > > > Hi, > > > I have recently started learning clojure and have b

Different behavior at REPL vs compiled code

2012-05-18 Thread Ankit Goel
Hi, I have recently started learning clojure and have been setting up leiningen for managing projects. I create a new project using "lein new" and modified the "src/ factorial/core.clj" file to contain the following code (ns factorial.core (:gen-class)) (defn fact [n] (if (= n 1) 1