0

Considering the problem:
Make a function to find the common elements of the lists in a list of lists.
Example:
common ( [ [1,2,3,3,5,11], [2,2,2,3,3,5], [2,2,3,3,4,5,6,7,18,19], [3,5,10,15] ] ) = [3, 5].
I came up with this solution:
import Data.List(group, nub, sort)
-- |
-- ...