Professional Documents
Culture Documents
Laboratory -
Grade and
Subject Teacher’s
Signature
Experimen 19
t Number
Problem Write the following Haskell program to implement Higher order functions: -
Statement 1. Using filter function find all the lower-case alphabet in any given
string.
2. Using Map function find the power of 4 for first 50 positive integers
Code: 1. [c|c<-"Hii",c`elem`['a'..'z']]
2. map(^4)[1..50]
Output: