Let's focus on that for a sec:
(define ((A)) 1) is the same as (define (A) (lambda () 1));;
defines procedure "(A)"
I wonder if you meant >>defines procedure "((A))"<< instead.
Assuming that, if "((A))" is just a name of the procedure, then
"A" and "(A)". Should not evaluate at all. Apparently above line
defines procedure "A" actually.
I know this is not that useful although very interesting in terms of
how it was implemented and how that (define ...) form interprets the
first argument.
A.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en