Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 719 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 719 Bytes

CIS425_Programs-in-ML-and-Haskell

A small collection of programs in the ML functional programming language

These are basic just for better understanding of programming languages in general.

ML Programs

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

Haskell Programs

PalindromeChecker.hs:

  • Checks if a string input is a palindrome

States.hs:

  • Basic practice with monads/states

Lists.hs:

  • Basic manipulation of integer lists