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.

  1. data TySynEqn

    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)
    

  2. TySynEqn :: Maybe [TyVarBndr ()] -> Type -> Type -> TySynEqn

    template-haskell Language.Haskell.TH.Syntax

    No documentation available.

  3. cmpEq :: Ordering -> Bool

    template-haskell Language.Haskell.TH.Syntax

    No documentation available.

  4. mkNameQ :: String -> String -> Name

    template-haskell Language.Haskell.TH.Syntax

    Only used internally

  5. sequenceQ :: Monad m => forall a . () => [m a] -> m [a]

    template-haskell Language.Haskell.TH.Syntax

    No documentation available.

  6. unTypeQ :: forall a m . Quote m => m (TExp a) -> m Exp

    template-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.

  7. assertEqual :: (Eq a, Show a, HasCallStack) => String -> a -> a -> Assertion

    tasty-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.

  8. ptrEq :: a -> a -> Bool

    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.)

  9. frequency :: HasCallStack => [(Int, Gen a)] -> Gen a

    tasty-quickcheck Test.Tasty.QuickCheck

    Chooses one of the given generators, with a weighted random distribution. The input list must be non-empty.

  10. assertEqual :: (HasCallStack, Eq a, Show a) => String -> a -> a -> Assertion

    HUnit 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.

Page 143 of many | Previous | Next