Question: I was able to get P1_1 need help doing P1_2 Language is Haskell and please explain how you did it https://gyazo.com/0e3fb4d7ed67c546ec2ab5e0ad917ebc the photo for p1_2

I was able to get P1_1

need help doing P1_2

Language is Haskell and please explain how you did it

https://gyazo.com/0e3fb4d7ed67c546ec2ab5e0ad917ebc

the photo for p1_2

and it should be just a simple pattern matching

this is the test for it https://gyazo.com/cb012c645645353677be7a3cb3ba9474

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!