Skip to content

Removal of many partial functions related to head.#157

Open
jcmartin wants to merge 2 commits intomongodb-haskell:masterfrom
jcmartin:remove_partial_functions
Open

Removal of many partial functions related to head.#157
jcmartin wants to merge 2 commits intomongodb-haskell:masterfrom
jcmartin:remove_partial_functions

Conversation

@jcmartin
Copy link
Copy Markdown

This pull request is focused on removing warnings about partial functions related to head. In addition, when the error code is not present, we use Nothing instead of using 0 to disambiguate an error code missing versus no error.

This pull request is meant to be as simple as possible. There are partial function warnings coming up in Internal.Protocol. However, these are a bit more tedious to remove.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant