Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-export Query and Status #97

Merged
merged 1 commit into from
Aug 8, 2018
Merged

Re-export Query and Status #97

merged 1 commit into from
Aug 8, 2018

Conversation

akheron
Copy link
Collaborator

@akheron akheron commented Aug 8, 2018

Fixes #96

@@ -96,3 +99,4 @@ import HTTPure.Server
, serveSecure
, serveSecure'
)
import HTTPure.Status (Status)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Think we should re-export all the status code aliases from HTTPure.Status as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't think that's possible because their names clash with functions in HTTPure.Response, and the response functions are much more useful :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yep, fair enough, agreed. Someone could always just import HTTPure.Status if they really needed them.

Copy link
Collaborator

@cprussin cprussin left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@akheron akheron merged commit 9b10458 into master Aug 8, 2018
@akheron akheron deleted the issue-96 branch August 8, 2018 04:32
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.

2 participants