Hoogle Search

Within LTS Haskell 24.17 (ghc-9.10.3)

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

  1. newtype Last a

    testing-feat Test.Feat.Enumerate

    Maybe monoid returning the rightmost non-Nothing value. Last a is isomorphic to Dual (First a), and thus to Dual (Alt Maybe a) Data.Semigroup.Last. The former returns the last non-Nothing, so x <> Data.Monoid.Last Nothing = x. The latter simply returns the last value, thus x <> Data.Semigroup.Last Nothing = Data.Semigroup.Last Nothing.

    Examples

    >>> Last (Just "hello") <> Last Nothing <> Last (Just "world")
    Last {getLast = Just "world"}
    
    >>> Last Nothing <> mempty
    Last {getLast = Nothing}
    

  2. Last :: Maybe a -> Last a

    testing-feat Test.Feat.Enumerate

    No documentation available.

  3. Last :: HistIndex b

    histogram-fill Data.Histogram

    Bin maximum index.

  4. Last :: HistIndex b

    histogram-fill Data.Histogram.Generic

    Bin maximum index.

  5. Last :: Pipeline -> AndOr

    language-bash Language.Bash.Syntax

    The last pipeline of a list.

  6. Last :: f a -> NERAList' (f :: Type -> Type) a

    ral Data.RAList.NonEmpty

    No documentation available.

  7. Last :: forall (n :: Nat) a . Tree n a -> NERAVec' n 'BE a

    ral Data.RAVec.NonEmpty

    No documentation available.

  8. Last :: a -> Future a

    streams Data.Stream.Future

    No documentation available.

  9. Last :: !Complete a -> Future a

    streams Data.Stream.Future.Skew

    No documentation available.

  10. type family Last (d :: [k]) :: k

    type-map Data.TypeMap.Internal.Unsafe

    Last element of a list.

Page 4 of many | Previous | Next