Question: This is in SML. Problem 3 (20 points) Write a function, called union, a list * a list ? a list, that when called with

This is in SML.

This is in SML. Problem 3 (20 points) Write a function, called

Problem 3 (20 points) Write a function, called union, "a list * "a list ? "a list, that when called with two lists, denoting sets, returns their union. In other words, union(s1,s2) s1 Us2 where s1 and s2 are lists Recall that sets may not contain duplicate elements. (Hence s1 Us2 may not contain duplicate elements)

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!