-
Notifications
You must be signed in to change notification settings - Fork 20
Fix transitive dependencies errors in spago 0.20.0 #71
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 transitive dependencies errors in spago 0.20.0 #71
Conversation
Having trouble reproducing the CI failure locally. This command works fine for me:
|
We can remove the unused function — that’s a 0.14.1 warning. I’m not sure why you aren’t seeing it locally. |
{- | ||
let | ||
oneIfA = 1 <$ string "a" <?> "Letter was 'a'" | ||
zeroIfNotA = 0 <$ regex "[^a]" <?> "Letter was not 'a'" | ||
letterIsOneOrZero = oneIfA <|> zeroIfNotA <?> | ||
"The impossible happened: \ | ||
\a letter was not 'a', and was not not-'a'." | ||
convertLettersToList = many1 letterIsOneOrZero | ||
{- | ||
list <- convertLettersToList -} |
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.
Don't know if we should fully remove unused code found here and in other locations in this file
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 think it should be removed if it's unused (unless specifically commented out with a TODO or something).
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.
The point of this comment was to clarify what the below code is doing in a more piece-meal way.
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.
Jordan, do you prefer it remains commented out or removed? Whatever your choice we can then merge and release.
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'd prefer it stay commented out.
Description of the change
Fixes spago warnings when building and running tests for this library locally.
Checklist: