-
Notifications
You must be signed in to change notification settings - Fork 697
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
Fix typos in *.hs
files
#10613
Fix typos in *.hs
files
#10613
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TWIMC: there's one API change
@geekosaur, what does your API checking, of #10259, have say about this change1? Footnotes
|
I haven't checked because last time I poked at the PR I was unexpectedly finding references to cabal 3.15 (i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That appears to be the only one (the others are either let
/where
bindings or not exported). We probably want to give this one a miss, or start a deprecation on the misspelled one.
@geekosaur is right, this is a good moment to try it out. @philderbeast please could you create a wiki page based on this template? https://github.com/haskell/cabal/wiki/Deprecation-Process You don't have to do every step by yourself. Especially feel free to rope in people, or mention it on Matrix so that it may be included in this week's agenda. |
@Kleidukos we can skip the deprecation process for this rename as |
Sorry, then yeah nevermind. :) |
My bad: I jumped the gun with calling it an API change... |
The typos tool cannot --write-changes when the fix is ambigous. These need manual fixes: - Typo -expections - Typo ths - Typo ot - Typo dependend
3fea3db
to
02a9724
Compare
Label merge+no rebase is necessary when the pull request is from an organisation. |
Follow on from #10603, using
typos --write-changes
over*.hs
files initially and then manually fixing any other typos found but with ambiguous fixes.Note
I chose the A template to err on the side of caution. Almost all changes are to haddock comments.
There is one exported function name that this changes:
However this is in a module that is not exported from
Cabal
:cabal/Cabal/Cabal.cabal
Lines 326 to 345 in 1f52963
Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR:
significance: significant
in the changelog file.