the behavior of functions outside of their domain is undefined. I
guess I still don't get it. why would you use a function on something
outside of its domain? do people just pick functions at random to
compose their programs?


2009/11/9 Tiago Antão <tiagoan...@gmail.com>:
>
> On Mon, Nov 9, 2009 at 8:08 PM, Kevin Downey <redc...@gmail.com> wrote:
>>
>> I don't understand, the error message you get is the error that occurred.
>
> Both of them honor their documentation - no doubt. My point is not
> that, my point is that the behavior is different between the 2
> functions for the same kind of issue:
>
> What is the rationale for even? and contains? having different
> behaviors for the exact same error (ie, one throws the other works
> fine and just returns false on a type error)? From a design
> perspective this seems to increase the cognitive load to programmers
> without any (apparent) reason.
>
> One would imagine that both functions should have the same behavior
> for the same kind of error...
>
> >
>



-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

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