Hoogle Search

Within LTS Haskell 23.1 (ghc-9.8.4)

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

  1. newtype Dual a

    base Data.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"}}
    

  2. Dual :: a -> Dual a

    base Data.Monoid

    No documentation available.

  3. newtype Dual a

    base Data.Semigroup

    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

    base Data.Semigroup

    No documentation available.

  5. newtype Dual a

    base-compat 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"}}
    

  6. Dual :: a -> Dual a

    base-compat Data.Monoid.Compat

    No documentation available.

  7. newtype Dual a

    base-compat 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"}}
    

  8. Dual :: a -> Dual a

    base-compat Data.Semigroup.Compat

    No documentation available.

  9. module Data.Semigroupoid.Dual

    A semigroupoid satisfies all of the requirements to be a Category except for the existence of identity arrows.

  10. newtype Dual (k2 :: k -> k1 -> Type) (a :: k1) (b :: k)

    semigroupoids Data.Semigroupoid.Dual

    No documentation available.

Page 1 of many | Next