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.

  1. deriveMutableCascading :: Name -> DecsQ

    fitspec Test.FitSpec

    No documentation available.

  2. deriveMutableCascadingE :: [Name] -> Name -> DecsQ

    fitspec Test.FitSpec

    No documentation available.

  3. deriveMutableE :: [Name] -> Name -> DecsQ

    fitspec Test.FitSpec

    Derives a Mutable instance for a given type Name using a given context for all type variables.

  4. deriveMutable :: Name -> DecsQ

    fitspec Test.FitSpec.Derive

    Derives Mutable, ShowMutable and (optionally) Listable instances for a given type Name. Consider the following Stack datatype:

    data Stack a = Stack a (Stack a) | Empty
    
    Writing
    deriveMutable ''Stack
    
    will automatically derive the following Listable, Mutable and ShowMutable instances:
    instance Listable a => Listable (Stack a) where
    tiers = cons2 Stack \/ cons0 Empty
    
    instance (Eq a, Listable a) => Mutable a
    where mutiers = mutiersEq
    
    instance (Eq a, Show a) => ShowMutable a
    where mutantS = mutantSEq
    
    If a Listable instance already exists, it is not derived. (cf.: deriveListable) Needs the TemplateHaskell extension.

  5. deriveMutableCascading :: Name -> DecsQ

    fitspec Test.FitSpec.Derive

    No documentation available.

  6. deriveMutableCascadingE :: [Name] -> Name -> DecsQ

    fitspec Test.FitSpec.Derive

    No documentation available.

  7. deriveMutableE :: [Name] -> Name -> DecsQ

    fitspec Test.FitSpec.Derive

    Derives a Mutable instance for a given type Name using a given context for all type variables.

  8. deriveCoSinkable :: Name -> Name -> Q [Dec]

    free-foil Control.Monad.Foil.TH.MkInstancesFoil

    Generate Sinkable and CoSinkable instances.

  9. deriveUnifiablePattern :: Name -> Name -> Q [Dec]

    free-foil Control.Monad.Foil.TH.MkInstancesFoil

    Generate Sinkable and CoSinkable instances.

  10. deriveZipMatch :: Name -> Q [Dec]

    free-foil Control.Monad.Free.Foil.TH.ZipMatch

    Generate ZipMatch instance for a given bifunctor.

Page 39 of many | Previous | Next