alexpetrov / fp-contest-june-2015

Functional Programming June 2015 Contest by Roman Dushkin

Home Page:http://haskell98.blogspot.ru/2015/06/blog-post_5.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

June 2015 Functional Programming Contest by Roman Dushkin

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.

Usage

To run program enter following in console:

./run.sh

It will compile program to one uberjar and run it.

To run tests:

lein test

Output

If you run this program, you will get this output in console:

"Elapsed time: 16.953553 msecs"
Пятёрка стран с самым большим количеством видов насекомых из коллекции:
{"Уганда" 10, "Россия" 10, "Эфиопия" 9, "ЮАР" 8, "Вевелония" 6}
Ганс Шмуцихь подвергается обструкции

FIXME

License

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.

About

Functional Programming June 2015 Contest by Roman Dushkin

http://haskell98.blogspot.ru/2015/06/blog-post_5.html

License:Eclipse Public License 1.0


Languages

Language:Clojure 97.1%Language:Shell 2.9%