Hi Paul,

I think the current behavior is reasonable. It is consistent across  
all the numeric functions. And if the nil got into max by being a  
sentinel value from some other function, I don't think there is a  
right way to interpret it.

Stuart

> Currently, "(max 1 2 nil 4)" throws a NPE. Would it be reasonable to  
> expect it to return "4"? Or is it right that it throws an NPE?
>
> Paul
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to