Sorry, it's NOT restricted by 1 line, like ;
:)
Regards
Nikita Beloglazov

On Tue, Aug 3, 2010 at 10:54 PM, Nikita Beloglazov
<nikelandj...@gmail.com>wrote:

> #_ comments the whole form, starting with parent just after #_ : #_(bla-bla
> (bla-bla2 ... ) )
> for example
> (+  #_ (+
>             2 3 4 (* 1 2) )
>       1 2)
> Will return 3, because form with (+ 2 3 ... )  will be ignored by reader
> So it's restricted by 1 line like ;
>
> Regards
> Nikita Beloglazov
>
>
> On Tue, Aug 3, 2010 at 10:35 PM, Meikel Brandmeyer <m...@kotka.de> wrote:
>
>> Hi,
>>
>> Am 03.08.2010 um 16:45 schrieb Yang Dong:
>>
>> > I've read the src of core.clj of Clojure 1.1.0. Originally I thought
>> > the meaning of #_ is to comment the thing after it, sort of like `;'.
>> > But the in the src of core.clj in 1.2.0-RC1. The definition of reduce
>> > is overrided to use the internal-reduce function. The defn line, is
>> > preceded by `#_'. But in 1.1.0, it's not preceded by this reader
>> > macro. So, I'm confused...
>>
>> You are absolutely right. The #_ is kind of comment. And in fact the
>> override with the internal reduce function is commented out (ie. it’s not
>> active) in 1.2.
>>
>> Sincerely
>> Meikel
>>
>> --
>> 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<clojure%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>>
>
>

-- 
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

Reply via email to