Question: Please code in Haskell: Problem 7 (5 marks) Write a function that given four arguments returns a triple of booleans representing the following: 1. Are

Please code in Haskell:

Please code in Haskell: Problem 7 (5 marks) Write a function that

given four arguments returns a triple of booleans representing the following: 1.

Problem 7 (5 marks) Write a function that given four arguments returns a triple of booleans representing the following: 1. Are the first and third argument equal? 2. Are the second and fourth argument equal? 3. Are all arguments equal? Problem 8 (5 marks) Using list comprehensions: 1. Write a function that takes a list of integers and doubles them. 2. Write a function that takes a list of numbers and returns a list of pairs where the first element of the pair is the original number, and the second element is the doubled value

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!