Re: Why so?

2010-09-04 Thread vishy
thanks for the link!!! On Sep 3, 8:54 pm, David Nolen dnolen.li...@gmail.com wrote: On Fri, Sep 3, 2010 at 11:50 AM, fin gpl...@gmail.com wrote: It is better to have 100 functions in one category than 10 functions in 10 categories? I don't think so. See:

Why so?

2010-09-03 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

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

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

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

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

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 arbs...@gmail.com wrote: On Wed, Oct 7, 2009 at 5:57 PM, Mark Reid mark.r...@gmail.com wrote: I'm not sure if this is the best approach but I found that if you    (use

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

Unable to use contrib

2009-10-06 Thread vishy
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, send email to clojure