Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
template-haskell Language.Haskell.TH.Syntax One equation of a type family instance or closed type family. The arguments are the left-hand-side type and the right-hand-side result. For instance, if you had the following type family:
type family Foo (a :: k) :: k where forall k (a :: k). Foo @k a = a
The Foo @k a = a equation would be represented as follows:TySynEqn (Just [PlainTV k, KindedTV a (VarT k)]) (AppT (AppKindT (ConT ''Foo) (VarT k)) (VarT a)) (VarT a)
TySynEqn :: Maybe [TyVarBndr ()] -> Type -> Type -> TySynEqntemplate-haskell Language.Haskell.TH.Syntax No documentation available.
-
template-haskell Language.Haskell.TH.Syntax No documentation available.
mkNameQ :: String -> String -> Nametemplate-haskell Language.Haskell.TH.Syntax Only used internally
sequenceQ :: Monad m => forall a . () => [m a] -> m [a]template-haskell Language.Haskell.TH.Syntax No documentation available.
unTypeQ :: forall a m . Quote m => m (TExp a) -> m Exptemplate-haskell Language.Haskell.TH.Syntax Discard the type annotation and produce a plain Template Haskell expression Representation-polymorphic since template-haskell-2.16.0.0.
assertEqual :: (Eq a, Show a, HasCallStack) => String -> a -> a -> Assertiontasty-hunit Test.Tasty.HUnit Asserts that the specified actual value is equal to the expected value. The output message will contain the prefix, the expected value, and the actual value. If the prefix is the empty string (i.e., ""), then the prefix is omitted and only the expected and actual values are output.
-
unordered-containers Data.HashMap.Internal Check if two the two arguments are the same value. N.B. This function might give false negatives (due to GC moving objects.)
frequency :: HasCallStack => [(Int, Gen a)] -> Gen atasty-quickcheck Test.Tasty.QuickCheck Chooses one of the given generators, with a weighted random distribution. The input list must be non-empty.
assertEqual :: (HasCallStack, Eq a, Show a) => String -> a -> a -> AssertionHUnit Test.HUnit.Base Asserts that the specified actual value is equal to the expected value. The output message will contain the prefix, the expected value, and the actual value. If the prefix is the empty string (i.e., ""), then the prefix is omitted and only the expected and actual values are output.