user=> (remove nil? '(:a nil nil :b :a))
(:a :b :a)

On Feb 25, 2:38 pm, Sean <[email protected]> wrote:
> I've got the following list
>
> (:a nil nil :b :a)
>
> I want to call a "nil-killer" function, and get the following list
>
> (:a :b :a)
>
> How do I go about this?  Could someone post a quick example?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to