From: Ken A. <kan...@bb...> - 2003-07-21 21:20:13
|
elf/sort.scm is a group of procedures i've been using that let you analyze Scheme data in a relatively relational way, so its easy to combine expressions to get the query you want. So for example (map* (project (unique x) (count y)) (group-by (project x y) data) is the same as the SQL query : select unique(x), count(y) from data group by x, y Rusty wanted me to add the histogram code we've been using also, which is a great way to summarize aspects of your data. We've been successfully analyzing 60,000+ element datasets with JScheme. |