mixphix

Results 58 comments of mixphix

I do have a need for these functions! We have a newtype wrapper for `Map` that lifts `Semigroup` values (can’t wait for #539 btw), and we `foldMap` over rows in...

We have `GNFData` for these types. Would giving them plain `NFData` yield a greater benefit than exporting `grnf`?

@TravisWhitaker I've just dropped support for GHC 7 to simplify the CPP in `Control.DeepSeq`. Would you please rebase so that these instances can finally be added?

You are right that the PVP makes no mention of "changes to existing *functions*", only datatypes or classes. My gut tells me that Alex did the right thing here by...

Seems like a good design pattern to me. I'm ok with the name you've picked, with `try-` instead of `-Maybe`, because it is still fundamentally an IO action.

> > The straightforward implementation of `tryReadMVar` will cause this code to block: > Which can be fixed by calling `dupChan` at the beginning and then using the duplicated channel...

It seems none of the tagged users in this thread have any valuable input. For that reason I wonder if this function is a necessary addition to `base`, and if...

@Bodigrim do you have an MR prepared for this function? More than once since you brought it up have I wished we already had it in `base`.

I'd never heard of `clamp`, it seems it was introduced in `base-4.16` but it doesn't have a `@since` annotation. --- I think a well-documented left bias for both `min` and...