In this task the goal is to implement the function combine2 which must have the same functionality as combine, using both distinct and merge.
I implemented a function that passes the test, but i noticed that it does not share the exact functionality of combine. Im not really sure how to explain this, since posting a solution isn't allowed. Let's take an example input, where my function has a different output that the original combine (even though test3 evaluates to true). The given function has the following output for the following input:
Code: Alles auswählen
combine [1,1,1] [1,1,1] -> [1,1,1]
Maybe I'm on the totally wrong track here. I hope you understand the problem Im having.