You can do something like this.

https://gist.github.com/johnwalker/8243534

On Friday, January 3, 2014 12:37:07 PM UTC-5, Jeff Angle wrote:
>
> Hi guys! this has made me pull quite a load of hair new to clojure......
>
> have a nested vector say [[salt 0 0  %deviation 0&0] [sugar 5 10 
> %deviation 5$10] [milk 1 2 %deviation 1&2 ] [bread] .......] where % 
> deviation is the actual figure of evaluting the deviation between e.g 5 and 
> 10 for sugar, I want to sort using % deviation and also filter out those 
> with deviations of 0. Please help, will revenge when I master functional 
> programing with clojure
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to