On 16 Okt., 22:01, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> #(identity %) is more compactly written as: identity. > > This works: > > user=> (apply max (filter identity '(1 2 nil 4))) > 4 > > In this case, number? is also a good predicate to use: > > user=> (apply max (filter number? '(1 2 nil 4))) > 4 I think something that could really be a win is if functions like min, max and maybe even others also took a list as their single argument. This would remove several applys. André --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---