How do you solve this Haskell problem using higher order functions?
- by Linda Cohen
Using higher order functions (map, fold or filter) and if necessary lambda
expressions. Write a definition for f1 and f2 so the following evaluation
is valid:
f1 (f2 (*) [1,2,3,4]) 5
output: [5,10,15,20]
Any help would be appreciated, thanks.