The set is being passed in as a parameter, so that will be a problem. Still, I'll be able to re-write my routine with false. Thanks!
On Aug 18, 8:18 pm, "J. McConnell" <jdo...@gmail.com> wrote: > On Tue, Aug 18, 2009 at 7:37 PM, Sean Devlin <francoisdev...@gmail.com>wrote: > > > > > user=> (filter #{false} [true false false true]) > > () > > > Obviously, this is not what I intended. The best I could do was the > > following > > > user=> (filter (comp not nil? #{false}) [true false false true]) > > (false false) > > > Does anyone else have any other ideas? > > user=> (filter false? [true false false true]) > (false false) > > Or is the set in question being passed in as a parameter? > > Regards, > > - J. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---