Explain side effect in a function
Haskell functions have no side effects.
Describe variables in Haskell
cannot change the value of a variable later in the program. If variable ‘a’ is set to 5, it remains so throughout the funciton
Describe Referential Tarnsparency
If a function yields the same result, given the same inputs irrespective of the number of times it has been called - is called referential transparency.
Describe Lazy Evaluation in Programming Langauages
expressions and functions are evaluated only when needed.This also avoids repeated evaluations thereby increasing performance