-
Notifications
You must be signed in to change notification settings - Fork 19
Future-proof against potential Prelude.foldl' #39
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
Conversation
@phadej shall I rather make all imports from |
That would be nice. |
Done. |
src/Data/Text/Short/Internal.hs
Outdated
@@ -106,6 +106,12 @@ module Data.Text.Short.Internal | |||
, isValidUtf8 | |||
) where | |||
|
|||
import Prelude | |||
(Bool(..), Ordering(..), Int, Char, String, Maybe(..), IO, Eq, Ord, Num, Read, | |||
Show, Monoid, ($), ($!), (.), (==), (/=), (+), (*), (-), (>>), (<=), (<), (>), (>=), |
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.
import Data.Monoid (Monoid, mempty, mconcat)
as separate import.
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.
@phadej done, thanks.
@phadej anything else you'd like me to do here? CI failures seem unrelated. |
No. I was waiting (and kind of still do) for |
|
See haskell/core-libraries-committee#167
This is, of course, a bit speculative at the moment, but given that the change does not involve CPP, it should not hurt to merge it early to simplify further impact assessment.