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

Document Loc #26

Merged
merged 2 commits into from Aug 12, 2020
Merged

Conversation

MaxGabriel
Copy link
Contributor

This PR is primarily inspired by yesodweb/persistent#1076. Persistent was importing Loc directly from template-haskell and unnecessarily depending on that package, causing issues for users.

This PR documents what I think is the intended usage, importing Loc from monad-logger instead. Additionally, I think the documentation around Loc is good for even regular users, since it explains it's a re-export from template-haskell.

I wasn't able to add documentation directly to Loc with the standard -- |, I'm guessing because Loc is a re-export. So I added the documentation directly above the export of Loc.

ChangeLog.md Outdated Show resolved Hide resolved
Copy link
Owner

@snoyberg snoyberg left a comment

Choose a reason for hiding this comment

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

Thanks!

@snoyberg snoyberg merged commit 3871f6f into snoyberg:master Aug 12, 2020
@MaxGabriel
Copy link
Contributor Author

Thanks for the quick merge, always really nice contributing to your packages :)

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.

None yet

2 participants