# coding=utf-8 name = 'union/3' slug = 'find the union of two sets' description = '''\
union(S1, S2, U): the list U contains all elements of S1 and S2, with no duplicates.
union(S1, S2, U)
U
S1
S2
?- union([1,5,2,3], [3,4,8,2], U). U = [1,5,3,4,8,2].