Hello everybody,

(comp) should evaluate the identity function, so comp behaves
consistent with other variadic functions and returns a neutral value
on the zero-argument-case. This is consistent with +, because (+ (+)
x) = x and (comp (comp) fun) = fun.

For similar rasons, (-> x) should evaluate to x.

Since (comp) and (-> x) currently only raise exceptions, the change
should not break existing programs.

hth, Robert Pfeiffer

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

Attachment: edgecases.diff
Description: Binary data

Reply via email to