Instances5Data, Semigroup, Monoid, Outputable, ToHie
Data HsWrapperDefined in ghc-9.10.3 · GHC.Tc.Types.EvidenceSemigroup HsWrapperDefined in ghc-9.10.3 · GHC.Tc.Types.EvidenceThe Semigroup instance is a bit fishy, since
WpCompose, as a data constructor, is "syntactic" and not associative. Concretely, ifa,b, andcaren'tWpHole:(a <> b) <> c ?= a <> (b <> c)>
(a `WpCompose` b) `WpCompose` c /= @ a `WpCompose` (b `WpCompose` c)However these two associations are are "semantically equal" in the sense that they produce equal functions when passed to
GHC.HsToCore.Binds.dsHsWrapper.Monoid HsWrapperDefined in ghc-9.10.3 · GHC.Tc.Types.EvidenceOutputable HsWrapperDefined in ghc-9.10.3 · GHC.Tc.Types.EvidenceToHie (LocatedA HsWrapper)Defined in ghc-9.10.3 · GHC.Iface.Ext.Ast