On Sat, Apr 07, 2012 at 07:53:17AM -0700, Steven Obua wrote:
> [...] Nevertheless, somehow Boolean objects seem to creep into live,
> and I have code like that:
> 
> (if (:leaf m-node)
>     ....
>     ...
> )
> 
> that breaks because of it. I am using from the github repository
> ( 14428c296de483ea666bd874701046e7088e545c).
> 
> This means that I cannot trust my code on the most basic level, and
> this is unacceptable.

If unexpected objects are creeping into your functions, isn't that the
bigger problem here?  To me, the fact that Booleans don't behave as
you'd like is only a symptom...  in other words, would you be more able
to "trust your code on the most basic level" if you were seeing
different data types that you were likewise unable to explain, but which
just happened to work in this case?

-- 
Mark Shroyer
http://markshroyer.com/contact/

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