Hoogle Search
Within LTS Haskell 24.9 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lasts :: Dims -> Array a -> Array aharpie Harpie.Array Select the last element along the supplied dimensions.
>>> pretty $ lasts [0,2] a [15,19,23]
-
harpie Harpie.Fixed Select the last element along the supplied dimensions.
>>> pretty $ lasts (Dims @[0,2]) a [15,19,23]
lastPos :: Int -> [Int] -> Intharpie Harpie.Shape Get the last position of a dimension of a shape.
>>> lastPos 2 [2,3,4] 3 >>> lastPos 0 [] 0
lastOf :: FoldLike (Last a) s t a b -> s -> Maybe alens-family-core Lens.Family lastOf :: Fold s t a b -> s -> Maybe a
Returns Just the last referenced value. Returns Nothing if there are no referenced values.lastM :: Monad m => Vector a -> m arebase Rebase.Data.Vector No documentation available.
lastM :: (Vector v a, Monad m) => v a -> m arebase Rebase.Data.Vector.Generic No documentation available.
lastM :: (Prim a, Monad m) => Vector a -> m arebase Rebase.Data.Vector.Primitive No documentation available.
lastM :: (Storable a, Monad m) => Vector a -> m arebase Rebase.Data.Vector.Storable No documentation available.
lastM :: (Unbox a, Monad m) => Vector a -> m arebase Rebase.Data.Vector.Unboxed No documentation available.
-
shelly Shelly The exit code from the last command. Unless you set errExit to False you won't get a chance to use this: a non-zero exit code will throw an exception.