This program implements some data transformations on hexapods habitat statistics. Task description in Russian language is here in Roman's blog post: http://haskell98.blogspot.ru/2015/06/blog-post_5.html
Check out code in core.clj.
Check out tests to see basic examples of what algorithm is about core_test.clj.
To run program enter following in console:
./run.sh
It will compile program to one uberjar and run it.
To run tests:
lein test
If you run this program, you will get this output in console:
"Elapsed time: 16.953553 msecs"
Пятёрка стран с самым большим количеством видов насекомых из коллекции:
{"Уганда" 10, "Россия" 10, "Эфиопия" 9, "ЮАР" 8, "Вевелония" 6}
Ганс Шмуцихь подвергается обструкции
FIXME
Copyright © 2015 Alexander Petrov (a.k.a. Lysenko by passport)
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.