Re: Are all clojure namespaces loaded in repl by default?

2014-01-07 Thread John Kida
Thanks, that does work as expected now. Is it simply documented somewhere what clojure preloads for you? Or is there a way to reflect this? I found the (all-ns) command, not sure if there is a better way to view this info. Are the preloaded classed documented on the clojure site? -- -- You r

Are all clojure namespaces loaded in repl by default?

2014-01-07 Thread John Kida
I am using Clojure 1.5, and reading a book on Clojure 1.3. I am reading over the namespaces chapters but I appears in my repl I can already access everything with its fully qualified name without a require. For example on this website, namespaces example

reasoning behind nth and take-nth inconsistent parameter pos.

2014-01-03 Thread John Kida
(take-nth i coll) (nth coll i) or (nth coll i not-found) Why is one using the index as the first parameter and the other uses index as its second parameter..? Is there any good articles out there for clojure idioms that may explain some of these things? -- -- You received this message be

Finding available methods or docs for a value type

2013-12-24 Thread John Kida
So i am very new to Clojure and I am wondering if there are any good techniques to finding available methods that will take a particular value. I understand this is probably very hard to do or even impossible being Clojure is a dynamic language and a lisp but for example. Lets say i have a simp

Is Clojure more functional then Scala?

2013-12-15 Thread John Kida
I jumped on the FP bandwagon over a year ago and have been using Scala both at work and for personal interest. Recently however I decided to take a closer look at Clojure and see if it is something i actually like. I have to admit at first the syntax form was awkward, but im starting to really