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

Add type signature and documentation to toSavedConfig #10413

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

9999years
Copy link
Collaborator

This helper function was challenging to understand, so I added an explicit type signature and documentation comments to it.

  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).

This helper function was challenging to understand, so I added
an explicit type signature and documentation comments to it.
@9999years 9999years changed the title Add type and documentation to toSavedConfig Add type signature and documentation to toSavedConfig Oct 2, 2024
@@ -1314,6 +1315,19 @@ configFieldDescriptions src =
ParseArgs
]
where
toSavedConfig
:: (FieldDescr a -> FieldDescr SavedConfig)
-- Lifting function.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

NB: This function isn't rendered in Haddocks so these comments can't be Haddock comments.

@9999years 9999years added the merge me Tell Mergify Bot to merge label Oct 2, 2024
@mergify mergify bot added the ready and waiting Mergify is waiting out the cooldown period label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Tell Mergify Bot to merge ready and waiting Mergify is waiting out the cooldown period
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants