You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll wait until the above changed in base is released and ecosystem learned how well it works. (E.g. some weird code using constraints: We cannot have a Dict of forall a. NFData a, can we?)
Also this is technically a breaking change, so that's another good reason to not hurry.
Activity
phadej commentedon Sep 20, 2022
I'll wait until the above changed in
baseis released and ecosystem learned how well it works. (E.g. some weird code usingconstraints: We cannot have aDictofforall a. NFData a, can we?)Also this is technically a breaking change, so that's another good reason to not hurry.
Ericson2314 commentedon Sep 20, 2022
I agree this looks like a good idea. Thanks for proposing, @Icelandjack!
Icelandjack commentedon Sep 21, 2022
Hm with ImpredicativeTypes can we not have
Dict (forall a. NFData a)?phadej commentedon Sep 21, 2022
@Icelandjack I let someone else experiment and figure out.
add instances for NFData (RL a) and NFData (RLEof f a)