F# Operations on List

In this post I want to show how you can implement common list operations: union, intersection, difference and concatenation. Concatenation is the simplest of them all, because type List already has a function call append that does everything for you.

The union of two lists is a list containing all the distinct elements from…

CategoriesF#