Skip to content
Snippets Groups Projects
Commit d8cb3d36 authored by Matthew Farkas-Dyck's avatar Matthew Farkas-Dyck :musical_note: Committed by Marge Bot
Browse files

Clean up more incomplete uni patterns.

At some sites, we merely panic if the `[]` or `Maybe` is empty when we convert to `NonEmpty` or `Identity`, but at least now we make it explicit.

At other sites, we are able to use more precise types and avoid the partiality altogether. To do so, we redefine various functions to operate over `Traversable` arguments, so we can use the appropriate shape where known.
parent 138de0ff
No related branches found
No related tags found
No related merge requests found
Showing
with 110 additions and 128 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment