Question 2: Describe and Discuss the concepts of Higher order functions and currying in a functional programming language such as Haskell (or Standard ML) and describe why these concepts are important.

Respuesta :

Answer:

A higher-order function is a type of function in programming that can either accept a function as its parameter or return a function or both. Curring is a process used by functions to accept and access multiple arguments.  

Explanation:

Functional programming languages like Hasket, Javascript, Python, etc,  use the concept of higher-order functions and Curring to accept multiple arguments and functions as parameters and can also return a function.