Open sellout opened 6 years ago
I think this has been fixed by #12, unless I'm misunderstanding.
I think this may be in response to #12, which uses a different instance:
instance semigroupMu :: Alt f => Semigroup (Mu f) where
append (In x) (In y) = In (x <|> y)
We have an upcoming breaking release for PureScript 0.14 for this library, and I think this issue should be resolved as part of that release.
We may not be able to get this in for 0.14 due to a backlog of other work, so I'm going to remove the label.
E.g.,
Mu Maybe
has the myriad instances over natural numbers,Mu (XNor a)
has the free monoid instance, etc. I feel like it should maybe be(assuming there’s some
newtype First
) to avoid blessing this instance over other ones that users may be expecting depending on the pattern functor.