Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. newtype Endo a

    ghc-internal GHC.Internal.Data.Monoid

    The monoid of endomorphisms under composition.

    Endo f <> Endo g == Endo (f . g)
    

    Examples

    >>> let computation = Endo ("Hello, " ++) <> Endo (++ "!")
    
    >>> appEndo computation "Haskell"
    "Hello, Haskell!"
    
    >>> let computation = Endo (*3) <> Endo (+1)
    
    >>> appEndo computation 1
    6
    

  2. Endo :: (a -> a) -> Endo a

    ghc-internal GHC.Internal.Data.Monoid

    No documentation available.

  3. newtype Endo a

    ghc-internal GHC.Internal.Data.Semigroup.Internal

    The monoid of endomorphisms under composition.

    Endo f <> Endo g == Endo (f . g)
    

    Examples

    >>> let computation = Endo ("Hello, " ++) <> Endo (++ "!")
    
    >>> appEndo computation "Haskell"
    "Hello, Haskell!"
    
    >>> let computation = Endo (*3) <> Endo (+1)
    
    >>> appEndo computation 1
    6
    

  4. Endo :: (a -> a) -> Endo a

    ghc-internal GHC.Internal.Data.Semigroup.Internal

    No documentation available.

  5. newtype Endo a

    numhask NumHask.Prelude

    The monoid of endomorphisms under composition.

    Endo f <> Endo g == Endo (f . g)
    

    Examples

    >>> let computation = Endo ("Hello, " ++) <> Endo (++ "!")
    
    >>> appEndo computation "Haskell"
    "Hello, Haskell!"
    
    >>> let computation = Endo (*3) <> Endo (+1)
    
    >>> appEndo computation 1
    6
    

  6. Endo :: (a -> a) -> Endo a

    numhask NumHask.Prelude

    No documentation available.

  7. newtype Endo a

    ghc-lib-parser GHC.Core.TyCo.FVs

    The monoid of endomorphisms under composition.

    Endo f <> Endo g == Endo (f . g)
    

    Examples

    >>> let computation = Endo ("Hello, " ++) <> Endo (++ "!")
    
    >>> appEndo computation "Haskell"
    "Hello, Haskell!"
    
    >>> let computation = Endo (*3) <> Endo (+1)
    
    >>> appEndo computation 1
    6
    

  8. Endo :: (a -> a) -> Endo a

    ghc-lib-parser GHC.Core.TyCo.FVs

    No documentation available.

  9. type Endo a = a -> a

    boltzmann-samplers Boltzmann.Species

    No documentation available.

  10. newtype Endo a

    testing-feat Test.Feat.Enumerate

    The monoid of endomorphisms under composition.

    Endo f <> Endo g == Endo (f . g)
    

    Examples

    >>> let computation = Endo ("Hello, " ++) <> Endo (++ "!")
    
    >>> appEndo computation "Haskell"
    "Hello, Haskell!"
    
    >>> let computation = Endo (*3) <> Endo (+1)
    
    >>> appEndo computation 1
    6
    

Page 3 of many | Previous | Next