11/28/17 1
CSCI-2320 Functional Programming with Haskell
Mohammad T . Irfan
Functional Programming
u Mimic mathematical functions u No variables in C/Java sense u No assignment statements in C/Java sense u How about loops? u Context-independent
u Referential transparency u A function depends only on its arguments and nothing
else
u Other prime features
u Functions are first-class citizens u Extensive polymorphism u List types and operators u Recursion