Hoogle Search

Within LTS Haskell 24.2 (ghc-9.10.2)

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

  1. Dual :: a -> Dual a

    base-compat Data.Semigroup.Compat

    No documentation available.

  2. module Data.Semigroupoid.Dual

    No documentation available.

  3. newtype Dual a

    generic-deriving Generics.Deriving.Monoid

    The dual of a Monoid, obtained by swapping the arguments of (<>).

    Dual a <> Dual b == Dual (b <> a)
    

    Examples

    >>> Dual "Hello" <> Dual "World"
    Dual {getDual = "WorldHello"}
    
    >>> Dual (Dual "Hello") <> Dual (Dual "World")
    Dual {getDual = Dual {getDual = "HelloWorld"}}
    

  4. Dual :: a -> Dual a

    generic-deriving Generics.Deriving.Monoid

    No documentation available.

  5. newtype Dual a

    relude Relude.Monoid

    The dual of a Monoid, obtained by swapping the arguments of (<>).

    Dual a <> Dual b == Dual (b <> a)
    

    Examples

    >>> Dual "Hello" <> Dual "World"
    Dual {getDual = "WorldHello"}
    
    >>> Dual (Dual "Hello") <> Dual (Dual "World")
    Dual {getDual = Dual {getDual = "HelloWorld"}}
    

  6. Dual :: a -> Dual a

    relude Relude.Monoid

    No documentation available.

  7. newtype Dual a

    base-compat-batteries Data.Monoid.Compat

    The dual of a Monoid, obtained by swapping the arguments of (<>).

    Dual a <> Dual b == Dual (b <> a)
    

    Examples

    >>> Dual "Hello" <> Dual "World"
    Dual {getDual = "WorldHello"}
    
    >>> Dual (Dual "Hello") <> Dual (Dual "World")
    Dual {getDual = Dual {getDual = "HelloWorld"}}
    

  8. Dual :: a -> Dual a

    base-compat-batteries Data.Monoid.Compat

    No documentation available.

  9. newtype Dual a

    base-compat-batteries Data.Semigroup.Compat

    The dual of a Monoid, obtained by swapping the arguments of (<>).

    Dual a <> Dual b == Dual (b <> a)
    

    Examples

    >>> Dual "Hello" <> Dual "World"
    Dual {getDual = "WorldHello"}
    
    >>> Dual (Dual "Hello") <> Dual (Dual "World")
    Dual {getDual = Dual {getDual = "HelloWorld"}}
    

  10. Dual :: a -> Dual a

    base-compat-batteries Data.Semigroup.Compat

    No documentation available.

Page 2 of many | Previous | Next