Skip to content
An attempt to write small programs (eg -algorithms) in a functional way.
Scala Haskell Clojure
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
clojure-way
haskell-way
scala-way
.gitignore
.travis.yml
LICENSE
README.md

README.md

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.

You can’t perform that action at this time.