On Tue, Nov 1, 2011 at 21:00, Michael <[email protected]> wrote: > > > On Nov 1, 12:14 pm, Ben Smith-Mannschott <[email protected]> > wrote: >> 3. Define that min and max will ignore any NaN arguments. > > What is: > > (min NaN NaN) > > in this situation; ()?
The part of the message you didn't quote implies that it would behave as (min): throw an exception. The other option would be to return NaN. When I sat down to actually write the patch to implement this variant, I found that the latter behavior fell out of the implementation naturally, so I went with that. // ben -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. 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
