A small collection of programs in the ML functional programming language
These are basic just for better understanding of programming languages in general.
Division.sml:
- Simple program to divide whole numbers by 2 with exception handling for odd numbers
Multiply.sml
- Simple multiplication functions
interpreter folder
- Programmable Computable Function (PCF) interpreter with different forms of evaluations
- Lazy
- Static Scope
- Lazy Evaluation in Static Scope
PalindromeChecker.hs:
- Checks if a string input is a palindrome
States.hs:
- Basic practice with monads/states
Lists.hs:
- Basic manipulation of integer lists