I don't know how to read this: 

http://www.leonardoborges.com/writings/2012/12/02/monads-in-small-bites-part-ii-applicative-functors/

(defmulti pure (fn [f _] f))(defmethod pure List [_ v]    "Wraps value v in a 
list"    (List. [v]))


Is this a List followed by a vector of 2 elements, or this a List object 
whose constructor is being called with 2 arguments? 

List [_ v]


Also, am I correct to say that "_" is used instead of "f" purely to 
communicate intent to the next human developer who looks at this? It can 
not be indicating a type or a signature to the JVM, yes? 



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

Reply via email to