Hoogle Search

Within LTS Haskell 22.22 (ghc-9.6.5)

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

  1. data First a

    lens-family-core Lens.Family

    No documentation available.

  2. newtype () => First a

    numhask NumHask.Prelude

    Beware that Data.Semigroup.First is different from Data.Monoid.First. The former simply returns the first value, so Data.Semigroup.First Nothing <> x = Data.Semigroup.First Nothing. The latter returns the first non-Nothing, thus Data.Monoid.First Nothing <> x = x.

    Examples

    >>> First 0 <> First 10
    First 0
    
    >>> sconcat $ First 1 :| [ First n | n <- [2 ..] ]
    First 1
    

  3. First :: a -> First a

    numhask NumHask.Prelude

    No documentation available.

  4. newtype () => First a

    base-prelude BasePrelude

    Beware that Data.Semigroup.First is different from Data.Monoid.First. The former simply returns the first value, so Data.Semigroup.First Nothing <> x = Data.Semigroup.First Nothing. The latter returns the first non-Nothing, thus Data.Monoid.First Nothing <> x = x.

    Examples

    >>> First 0 <> First 10
    First 0
    
    >>> sconcat $ First 1 :| [ First n | n <- [2 ..] ]
    First 1
    

  5. First :: a -> First a

    base-prelude BasePrelude

    No documentation available.

  6. newtype () => First a

    rebase Rebase.Prelude

    Beware that Data.Semigroup.First is different from Data.Monoid.First. The former simply returns the first value, so Data.Semigroup.First Nothing <> x = Data.Semigroup.First Nothing. The latter returns the first non-Nothing, thus Data.Monoid.First Nothing <> x = x.

    Examples

    >>> First 0 <> First 10
    First 0
    
    >>> sconcat $ First 1 :| [ First n | n <- [2 ..] ]
    First 1
    

  7. First :: a -> First a

    rebase Rebase.Prelude

    No documentation available.

  8. First :: a -> PolyDiff a b

    fast-myers-diff Myers.Diff

    No documentation available.

  9. newtype () => First a

    ihaskell IHaskellPrelude

    Beware that Data.Semigroup.First is different from Data.Monoid.First. The former simply returns the first value, so Data.Semigroup.First Nothing <> x = Data.Semigroup.First Nothing. The latter returns the first non-Nothing, thus Data.Monoid.First Nothing <> x = x.

    Examples

    >>> First 0 <> First 10
    First 0
    
    >>> sconcat $ First 1 :| [ First n | n <- [2 ..] ]
    First 1
    

  10. First :: a -> First a

    ihaskell IHaskellPrelude

    No documentation available.

Page 3 of many | Previous | Next