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

Slight refactoring and more doc-comments #291

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

masaeedu
Copy link
Contributor

I was reading through the codebase to try and understand what it does and encountered a bit that was a bit confusing to read. I tried breaking it apart a bit and added some doc comments, hopefully you agree that this represents a slight improvement.

I also encountered a type that doesn't seem to be used by any of the functions that ask for it (they use an _ prefixed variable to discard it). Can this type just be removed?

@jneira
Copy link
Member

jneira commented Apr 14, 2021

Hi, thanks for the pr, the comment and refactor of implicitCongi looks good.
Not sure about removing CradleOpts though, maybe @fendor could help us to understand why it exists.

@jneira jneira requested a review from fendor April 14, 2021 06:36
@masaeedu
Copy link
Contributor Author

masaeedu commented Apr 14, 2021

@jneira In the interests of making this easier to review I've removed the CradleOpts stuff and will put that in a separate PR.

This is in #293 now.

@masaeedu masaeedu changed the title Slight refactoring, more doc-comments, and removing an apparently unused type Slight refactoring and more doc-comments Apr 14, 2021
Copy link
Member

@jneira jneira left a comment

Choose a reason for hiding this comment

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

Thanks for separate it in another pr, lgtm

@jneira jneira merged commit 4b79046 into haskell:master Apr 14, 2021
Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

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

3 participants