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:


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
Get step-by-step solutions from verified subject matter experts
