serokell / universum

:milky_way: Prelude written in @Serokell
MIT License
174 stars 26 forks source link

[#206] Remove `listToMaybe` #258

Closed DK318 closed 2 years ago

DK318 commented 2 years ago

Description

Problem

We export listToMaybe from Data.Maybe. It makes no sense because we have safeHead in Universum.Container which does the same thing.

Solution

Remove listToMaybe from export list.

Related issues(s)

✓ Checklist for your Pull Request

Ideally a PR has all of the checkmarks set.

If something in this list is irrelevant to your PR, you should still set this checkmark indicating that you are sure it is dealt with (be that by irrelevance).

Related changes (conditional)

Stylistic guide (mandatory)