Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

mrtkp9993/functional_programming

Repository files navigation

Functional Programming Examples

  • Ackermann.hs: the Ackermann function, Wiki.
  • CayleyTableUn.hs: Cayley table of U(n), Cayley Table, Unitary Group.
  • ClosestPair.hs: Closest pair of points problem Wiki.
  • Hamming.hs: Hamming distance between two strings, Wiki.
  • Quicksort.hs: Quicksort algorithm implementation, Wiki.
  • NumberTheory.hs: Number-theoric functions.
  • RockPaperScissors.hs: Rock-Paper-Scissors game.
  • Monte Carlo Pi: Approximate Pi with Monte Carlo Simulation. Compile the file and use it from commandline like ./ApproximationPi 10000.