Posted By

ef on 05/01/12


Tagged

filter case


Versions (?)

Filtering by using case example


 / Published in: Clojure
 

Example of filtering by using case

  1. (filter #(case (first %)
  2. ("Kategoria 1" "Kategoria 2") false ; forms in the list aren't evaluated
  3. true)
  4. pquery-response)

Report this snippet  

You need to login to post a comment.