That's the definition of a procedure named "(A)". Scheme48, for one, won't take that name, but Chicken will, even with parameters: #;1> (define ((A) n) n) #;2> ((A) 5) 5 And neither will, btw, bind a value to such a symbol in a (let). Clojure symbols can't start with an open paren, so that's just an invalid name.
On Thursday, August 30, 2012 12:07:21 PM UTC-7, Andy C wrote: > > On Wed, Aug 29, 2012 at 10:14 PM, Baishampayan Ghose > <b.g...@gmail.com<javascript:>> > wrote: > > Something like this? > > > > (defn A [] > > 1) > > > > (defn A [] > > (fn [] 1)) > > That would work but I wonder about how "(define ((A)) 1)" is evaluated > in Scheme and why similar and easier approach is not possible in > Clojure? > -- 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 your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en