I think the confusion is because they used multiple values when comparing the equality
(= (__ (sort (rest (reverse [2 5 4 1 3 6])))) (-> [2 5 4 1 3 6] (reverse) (rest) (sort) (__)) 5) This can be seen as : (def A (__ (sort (rest (reverse [2 5 4 1 3 6]))))) (def B (-> [2 5 4 1 3 6] (reverse) (rest) (sort) (__))) Then the 4Clojure exercise can be written as: (= A B 5) Do not feel bad, this took me some time to realize 5 was not part of B. On Thu, May 1, 2014 at 7:52 AM, Roelof Wobben <[email protected]> wrote: > Is this a nice explanation about macros : > http://bryangilbert.com/code/2013/07/30/anatomy-of-a-clojure-macro/ > > or is there a better one for a beginner. > > Roelof > > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
