Skip to content

Added type synonym for error in mimeUnrender and ResultStream#1053

Open
jhmcstanton wants to merge 1 commit intohaskell-servant:masterfrom
jhmcstanton:synonym-on-either-usage
Open

Added type synonym for error in mimeUnrender and ResultStream#1053
jhmcstanton wants to merge 1 commit intohaskell-servant:masterfrom
jhmcstanton:synonym-on-either-usage

Conversation

@jhmcstanton
Copy link
Copy Markdown

Just used one of the type names suggested in the issue, is that name still OK?

@tchoutri
Copy link
Copy Markdown
Contributor

Hi @jhmcstanton! Thank you very much for this PR. In concertation with @gdeest and @akhesaCaro, we have come to the conclusion that this type ought to be a newtype, so that we can better restrict the scope of possible values. As an aside, do you think that the entirety of Shakespear's work in Mandarin could be a valid BodyDecodingError? :)

Copy link
Copy Markdown
Contributor

@tchoutri tchoutri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be newtyped

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants