Posts by João Alvim • 11 points
1 post
-
1
votes1
answer88
viewsA: How to compare 2 lists and return another list with equal elements? - Haskell
From what I understand you need a function that removes the elements in common from two lists? Proposed function: comparar :: [Int] -> [Int] -> [Int] comparar [] l = [] comparar l [] = []…