-
Notifications
You must be signed in to change notification settings - Fork 0
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
Miscellaneous updates #2
Conversation
library/Module/Discover/Run.hs
Outdated
replace [pathSeparator] "." | ||
$ dropExtension | ||
$ joinPath | ||
$ reverse | ||
$ takeWhile (isUpper . head) | ||
$ reverse | ||
$ splitPath | ||
$ srcDir | ||
</> filePath | ||
replace [pathSeparator] "." $ | ||
dropExtension $ | ||
joinPath $ | ||
reverse $ | ||
takeWhile (isUpper . head) $ | ||
reverse $ | ||
splitPath $ | ||
srcDir | ||
</> filePath |
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.
I've seen Fourmolu do operator first here, I know I have. But then not always. I think it keeps it operator first in megarepo? Frustrating.
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.
This seems like something I just want to rewrite as a function composition chain anyway.
No description provided.