Question: 1 a)What is the principal difference between statically typed and dynamically typed languages? Mention one statically typed language and one dynamically typed language. b) Consider
1 a)What is the principal difference between statically typed and dynamically typed languages? Mention one statically typed language and one dynamically typed language.
b) Consider the following Haskell functions: step x y = y + 1 mystery iL = foldr step 0 iL
What will the following expression evaluate to? Show each recursive call with relevant parameters and describe what the function calculates.
mystery ["abc","bc","ced","bc","aeiou"]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
