On Sat, Feb 11, 2012 at 4:22 PM, Cedric Greevey <cgree...@gmail.com> wrote:
> Cute, but that makes giving it a docstring, pre- and postconditions,
> and similar things a pain.

You can get a doctoring and even arglists (for code assist in your IDE
and for clojure.repl/doc):

(def ^{:arglists '([pred coll]) } separate
  "Returns a pair of collections for which pred is truthy and falsey
respectively."
  (juxt filter remove))

True, you can't get pre/post-conditions on it. How many people use
those? (I know the answer is "Fewer than should" but I'm genuinely
curious as to how many folks _do_)

> even the
> modular new-contrib IMO doesn't quite qualify.

True, that opinion has also been expressed by members of Clojure/core:
contrib library != standard library. At least not until a contrib
module is promoted into the main clojure.* package itself.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

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