Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
eqEmptyLocalBinds :: HsLocalBindsLR a b -> Boolghc-lib-parser GHC.Hs.Binds No documentation available.
eqPmAltCon :: PmAltCon -> PmAltCon -> PmEqualityghc-lib-parser GHC.HsToCore.Pmc.Solver.Types We can't in general decide whether two PmAltCons match the same set of values. In addition to the reasons in eqPmLit and eqConLike, a PmAltConLike might or might not represent the same value as a PmAltLit. See Note [Undecidable Equality for PmAltCons].
- Just True ==> Surely equal
- Just False ==> Surely different (non-overlapping, even!)
- Nothing ==> Equality relation undecidable
- eqPmAltCon (LitInt 42) (LitInt 1) == Just False: Lit equality is decidable
- eqPmAltCon (DataCon A) (DataCon B) == Just False: DataCon equality is decidable
- eqPmAltCon (LitOverInt 42) (LitOverInt 1) == Nothing: OverLit equality is undecidable
- eqPmAltCon (PatSyn PA) (PatSyn PB) == Nothing: PatSyn equality is undecidable
- eqPmAltCon (DataCon I#) (LitInt 1) == Nothing: DataCon to Lit comparisons are undecidable without reasoning about the wrapped Int#
- eqPmAltCon (LitOverInt 1) (LitOverInt 1) == Just True: We assume reflexivity for overloaded literals
- eqPmAltCon (PatSyn PA) (PatSyn PA) == Just True: We assume reflexivity for Pattern Synonyms
eqBytes :: Bytes -> Bytes -> Boolghc-lib-parser GHC.Internal.TH.Syntax No documentation available.
eqCanEqLHS :: CanEqLHS -> CanEqLHS -> Boolghc-lib-parser GHC.Tc.Types.Constraint Are two CanEqLHSs equal?
eqCanRewrite :: EqRel -> EqRel -> Boolghc-lib-parser GHC.Tc.Types.Constraint No documentation available.
eqCanRewriteFR :: CtFlavourRole -> CtFlavourRole -> Boolghc-lib-parser GHC.Tc.Types.Constraint No documentation available.
eqCtEvidence :: EqCt -> CtEvidenceghc-lib-parser GHC.Tc.Types.Constraint No documentation available.
eqCtFlavourRole :: EqCt -> CtFlavourRoleghc-lib-parser GHC.Tc.Types.Constraint Extract the flavour and role from a Ct
-
ghc-lib-parser GHC.Tc.Types.Constraint No documentation available.
-
ghc-lib-parser GHC.Tc.Types.Constraint No documentation available.