DylanMeeus / DylanMeeus/hasgo

Difference function

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
enhancement hacktoberfest
Dominant language
Go
Stars
144
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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.

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.