2. Explain the composition of functions in Haskell a. Explain why composing functions with (.) should be covered in parentheses?

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter17: Linked Lists
Section: Chapter Questions
Problem 5SA
icon
Related questions
Question
1. Explain, in your own words, modification of elements of a list using the map.
a. Explain how modification of elements of a list may entail a change of the type of list.
b. Explain how a map takes various numbers of parameters to work.
2. Explain the composition of functions in Haskell
a. Explain why composing functions with (.) should be covered in parentheses?
b. When composing two functions, why does the function closer to the argument perform first?
Transcribed Image Text:1. Explain, in your own words, modification of elements of a list using the map. a. Explain how modification of elements of a list may entail a change of the type of list. b. Explain how a map takes various numbers of parameters to work. 2. Explain the composition of functions in Haskell a. Explain why composing functions with (.) should be covered in parentheses? b. When composing two functions, why does the function closer to the argument perform first?
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Algebraic Expression
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning