• Stars
    star
    126
  • Rank 276,496 (Top 6 %)
  • Language
    Scala
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.