On Tue, Nov 1, 2011 at 21:00, Michael <michael.campb...@gmail.com> wrote:
>
>
> On Nov 1, 12:14 pm, Ben Smith-Mannschott <bsmith.o...@gmail.com>
> 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 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