Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
unsafeLast :: MonoFoldable mono => mono -> Element monomono-traversable Data.MonoTraversable Equivalent to lastEx.
_last :: Snoc s s a a => Traversal' s ario RIO.Lens _last gives you access to the last element of the list:
>>> "Hello." ^? _last '.'
See documentation for _head, as _last and _head are pretty similar.periodLastDay :: DayPeriod p => p -> Dayrio RIO.Time Returns the last Day in a period of days.
weekLastDay :: DayOfWeek -> Day -> Dayrio RIO.Time Returns the last day of a week containing the given Day. Examples:
>>> weekLastDay Sunday (YearMonthDay 2022 02 21) YearMonthDay 2022 2 26
>>> weekLastDay Monday (YearMonthDay 2022 02 21) YearMonthDay 2022 2 27
>>> weekLastDay Tuesday (YearMonthDay 2022 02 21) YearMonthDay 2022 2 21
-
rio RIO.Vector.Boxed.Unsafe No documentation available.
unsafeLastM :: Monad m => Vector a -> m ario RIO.Vector.Boxed.Unsafe No documentation available.
unsafeLast :: Storable a => Vector a -> ario RIO.Vector.Storable.Unsafe No documentation available.
unsafeLastM :: (Storable a, Monad m) => Vector a -> m ario RIO.Vector.Storable.Unsafe No documentation available.
unsafeLast :: Unbox a => Vector a -> ario RIO.Vector.Unboxed.Unsafe No documentation available.
unsafeLastM :: (Unbox a, Monad m) => Vector a -> m ario RIO.Vector.Unboxed.Unsafe No documentation available.