Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
polyEqF :: PolyEq u v => u -> v -> Maybe (u :~: v)parameterized-utils Data.Parameterized.TH.GADT No documentation available.
structuralEquality :: TypeQ -> [(TypePat, ExpQ)] -> ExpQparameterized-utils Data.Parameterized.TH.GADT structuralEquality declares a structural equality predicate.
structuralTypeEquality :: TypeQ -> [(TypePat, ExpQ)] -> ExpQparameterized-utils Data.Parameterized.TH.GADT structuralTypeEquality f returns a function with the type: forall x y . f x -> f y -> Maybe (x :~: y)
class
TestEqualityFC (t :: k -> Type -> l -> Type)parameterized-utils Data.Parameterized.TraversableFC A parameterized class for types which can be tested for parameterized equality, when given an equality test for subterms.
-
parameterized-utils Data.Parameterized.TraversableFC No documentation available.
-
refined Refined A Predicate ensuring that the value is not equal to the specified type-level number n.
>>> isRight (refine @(NotEqualTo 6) @Int 5) True
>>> isLeft (refine @(NotEqualTo 5) @Int 5) True
NotEqualTo :: NotEqualTo (n :: Nat)refined Refined No documentation available.
-
refined Refined A Predicate ensuring that the value has a length which is equal to the specified type-level number.
>>> isRight (refine @(SizeEqualTo 4) @[Int] [1,2,3,4]) True
>>> isLeft (refine @(SizeEqualTo 35) @[Int] [1,2,3,4]) True
>>> isRight (refine @(SizeEqualTo 4) @Text "four") True
>>> isLeft (refine @(SizeEqualTo 35) @Text "four") True
SizeEqualTo :: SizeEqualTo (n :: Nat)refined Refined No documentation available.
audioSpecFreq :: AudioSpec -> !CIntsdl2 SDL.Audio DSP frequency (samples per second)