Re: Why so?

2010-09-04 Thread vishy
thanks for the link!!! On Sep 3, 8:54 pm, David Nolen wrote: > On Fri, Sep 3, 2010 at 11:50 AM, fin wrote: > > It is better to have 100 functions in one category than 10 functions > > in 10 categories? > > > I don't think so. See: > >http://clojure.github.com/clojure/clojure.core-api.html > > Cl

Why so?

2010-09-02 Thread vishy
It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures. -- Alan Perlis Why so? How is it advantageous? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goog

Keywords also have a literal syntax

2010-08-03 Thread vishy
What does it mean? Does it mean that :hello itself is a value,so we call it literal syntax.Also, this form of vector [1 2 3] is also literal syntax. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegr

Keywords as enumerations

2010-08-03 Thread vishy
Hi, In "The Joy of Clojure" book, it is mentioned "Very often Clojure code will use keywords as enumerations: :small :medium :large." What does this mean? thanks -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to c

why after every expression is executed,nil is printed

2010-07-30 Thread vishy
Hi, in REPL when I try out various expressions,nil is printed.why so? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with

ClojureBox not working

2009-10-17 Thread vishy
Hi, After I start ClojureBox, REPL does not load.What could be the problem.I am on a WindowsXP machine thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to cloj

Why the solution is slow in execution?

2009-10-09 Thread vishy
Hi, I was attempting problem no 4 at projecteuler.net. The solution I came up with was http://paste.lisp.org/display/88432 But, it executes very slowly.Why so? regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Basic questions

2009-10-07 Thread vishy
Hi, How can I find out all the namespaces in a library like clojure.contrib.Also, how to find all the functions defined in a namespace? Are there any commands which I can use on commandline? thanks --~--~-~--~~~---~--~~ You received this message because you are su

Re: Unable to use contrib

2009-10-07 Thread vishy
thanks for the comprehensive answer,clarified everything :) But, why ;; at the end? On Oct 7, 11:17 am, Abhishek Reddy wrote: > On Wed, Oct 7, 2009 at 5:57 PM, Mark Reid wrote: > > I'm not sure if this is the "best" approach but I found that if you > > >    (use 'clojure.contrib.math) > > > ins

Unable to use contrib

2009-10-06 Thread vishy
: Unable to resolve symbol: lcm in this context (NO_SOURCE_F LE:2) Whats the problem here? Please help regards vishy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group,