DylanMeeus/hasgo

Difference function

Opened this issue · 0 comments

The \ function is list difference (non-associative). In the result of xs \ ys, the first occurrence of each element of ys in turn (if any) has been removed from xs.

(\\) :: Eq a => [a] -> [a] -> [a] infix 5