ashwinbhaskar / functional-way

Write small programs (eg -algorithms) in a functional way.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

functional-way Build StatusTweet

An attempt to write small programs in a functional way. For eg - implementing sorting algorithms like merge sort, dynamic programming to solve 'n-dice' problem etc. Sure, some of the implementations are not optimal yet. But the idea is to collaborate and make them optimal while still trying to keep functions free of side effects and using immutable data structures.

Goal

The goal is to make people feel comfortable with the concepts of functional programming. Many of the programmers have encountered these algorithms and programs in their academics and interviews. The familiarity of the problems can really make it easier and interesting to comprehend the solutions.

Language

I started out with Scala to implement these programs. But recently included a programs in clojure too and people have started contributing in Haskell too!. Feel free to contribute in any functional language.

Dependency

You would need sbt for Scala, leiningen for Clojure and cabal for Haskell installed.

About

Write small programs (eg -algorithms) in a functional way.

License:GNU General Public License v3.0


Languages

Language:Scala 78.0%Language:Haskell 13.6%Language:Clojure 8.4%