• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    Scala
  • License
    GNU General Publi...
  • Created about 6 years ago
  • Updated over 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.