Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. last :: forall (b :: BinP) a . NERAVec b a -> a

    ral Data.RAVec.NonEmpty

    No documentation available.

  2. last :: HasCallStack => ByteString -> Word8

    rawfilepath Data.ByteString.RawFilePath

    O(1) Extract the last element of a ByteString, which must be finite and non-empty. An exception will be thrown in the case of an empty ByteString. This is a partial function, consider using unsnoc instead.

  3. last :: forall (f :: Type -> Type) (n :: Nat) a . (0 < n, CFoldable f, Dom f a) => Sized f n a -> a

    sized Data.Sized

    Take the last element of non-empty sequence. If you want to make case-analysis for general sequence, see Views and Patterns section. Since 0.7.0.0

  4. last :: Slist a -> a

    slist Slist

    O(n). Extracts the last element of a list. Uses not total last function, so use wisely. It is recommended to use safeLast instead

    >>> last $ slist "qwerty"
    'y'
    
    >>> last mempty
    *** Exception: Prelude.last: empty list
    ...
    
    >> last $ infiniteSlist [1..]
    <hangs>
    

  5. last :: Monad m => SerialT m a -> m (Maybe a)

    streamly Streamly.Internal.Data.Stream.IsStream

    Extract the last element of the stream, if any.

    last xs = xs !! (Stream.length xs - 1)
    last = Stream.fold Fold.last
    

  6. last :: Monad m => SerialT m a -> m (Maybe a)

    streamly Streamly.Prelude

    Extract the last element of the stream, if any.

    last xs = xs !! (Stream.length xs - 1)
    last = Stream.fold Fold.last
    

  7. last :: Future a -> a

    streams Data.Stream.Future.Skew

    O(log n).

  8. last :: (Key -> TomlCodec a) -> Key -> TomlCodec (Last a)

    tomland Toml.Codec.Combinator.Monoid

    Codec for Last wrapper for given converter's values. Decodes to Last Nothing when the key is not present.

  9. last :: Unboxable a => Vector a -> a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  10. last :: forall (n :: Nat) a . SNatI n => Vec ('S n) a -> a

    vec Data.Vec.DataFamily.SpineStrict

    The last element of a Vec.

Page 18 of many | Previous | Next