The __ needs to be replaced with a function. So essentially it boils down to:
(= (__ [1 2 3 4 5]) 5) What function when called with [1 2 3 4 5] returns 5? - James On 30 April 2014 18:18, Roelof Wobben <rwob...@hotmail.com> wrote: > > > Op woensdag 30 april 2014 19:12:24 UTC+2 schreef James Reeves: > >> The 5 is just the last part of the equality statement. This might be >> easier to see by adding in a "let": >> >> (let [x (__ (sort (rest (reverse [2 5 4 1 3 6])))) >> y (-> [2 5 4 1 3 6] (reverse) (rest) (sort) (__))] >> (= x y 5)) >> >> - James >> >> > Sorry I still do not see it > > If I understand it right it will be like this > > (let [x (__ [ 1 2 3 4 5] > y (-> [ 1 2 3 4 5] > (= [1 2 3 4 5] [ 1 2 3 4 5] 5)) > > it still looks very wierd to me > > Roelof > > -- 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 --- 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.