Skip to content

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

Notifications You must be signed in to change notification settings

myconejo/Pure-vs-Dirty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)