I'm curious why something like (partial *) doesn't work. reading the docstring,
user> (doc partial) ------------------------- clojure.core/partial ([f arg1] [f arg1 arg2] [f arg1 arg2 arg3] [f arg1 arg2 arg3 & more]) Takes a function f and fewer than the normal arguments to f, and returns a fn that takes a variable number of additional args. When called, the returned function calls f with args + additional args. It seems like "fewer than the normal arguments to f" could reasonably include 0 arguments. why not have (partial f) return f? it would be consistent with (* n) == n, (+ n) == n etc, and would help when using partial recursively. sincerely, --Robert McIntyre -- 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