myconejo / Pure-vs-Dirty

Purely Functional Haskell vs Imperitive C, C++ and Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Purely Functional vs Dirty Imperitive

  • Haskell (Purely Functional)
  • C/C++/Python (Imperitive)

Linked List

  • DLL.c Linked List implemented with C (Imperitive)
  • DLL.py Linked List implemented with Python (Object Oriented)
  • DLL.hs Linked List implemented with Haskell (Purely Functional)

Binary Search Tree (BST)

  • tree.c BST implemented with C (Imperitive)
  • tree.cppBST implemented with C++ (Object Oriented)
  • tree.py BST implemented with Python (Object Oriented)
  • tree.hs BST implemented with Haskell (Purely Functional)

Sort

  • sort.c Sorting algorithms in C (Imperitive)
  • sort.hs Sorting algorithms in Haskell (Purely Functional)

Hash

  • hash.cpp Double Hashing and Separate Chaining in C++ (Object Oriented)
  • hash.hs Double Hashing in Haskell (Purely Functional)
  • chain.hs Separate Chaining in Haskell (Purely Functional)

About

Purely Functional Haskell vs Imperitive C, C++ and Python


Languages

Language:Haskell 31.8%Language:C 31.4%Language:C++ 24.6%Language:Python 12.2%