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. lastErr :: e -> [a] -> Either e a

    errors Control.Error.Safe

    A last that fails in the Either monad

  2. lastZ :: MonadPlus m => [a] -> m a

    errors Control.Error.Safe

    A last that fails using mzero

  3. lastly :: Peek e a -> LuaE e b -> Peek e a

    hslua-marshalling HsLua.Marshalling

    Runs the peek action and Lua action in sequence, even if the peek action fails.

  4. lastly :: Peek e a -> LuaE e b -> Peek e a

    hslua-marshalling HsLua.Marshalling.Peek

    Runs the peek action and Lua action in sequence, even if the peek action fails.

  5. lastChild :: Cursor -> Maybe Cursor

    xml Text.XML.Light.Cursor

    The last child of the given location.

  6. last1 :: forall (t :: Type -> Type) a . Traversable1 t => Lens' (t a) a

    diagrams-lib Diagrams.Prelude

    A Lens focusing on the last element of a Traversable1 container.

    >>> 2 :| [3, 4] & last1 +~ 10
    2 :| [3,14]
    
    >>> Node 'a' [Node 'b' [], Node 'c' []] ^. last1
    'c'
    

  7. last1Of :: Getting (Last a) s a -> s -> a

    diagrams-lib Diagrams.Prelude

    Retrieve the Last entry of a Fold1 or Traversal1 or retrieve the result from a Getter or Lens.o

    >>> last1Of traverse1 (1 :| [2..10])
    10
    
    >>> last1Of both1 (1,2)
    2
    
    last1Of :: Getter s a      -> s -> Maybe a
    last1Of :: Fold1 s a       -> s -> Maybe a
    last1Of :: Lens' s a       -> s -> Maybe a
    last1Of :: Iso' s a        -> s -> Maybe a
    last1Of :: Traversal1' s a -> s -> Maybe a
    

  8. lastOf :: Getting (Rightmost a) s a -> s -> Maybe a

    diagrams-lib Diagrams.Prelude

    Retrieve the Last entry of a Fold or Traversal or retrieve Just the result from a Getter or Lens. The answer is computed in a manner that leaks space less than ala Last . foldMapOf and gives you back access to the outermost Just constructor more quickly, but may have worse constant factors.

    >>> lastOf traverse [1..10]
    Just 10
    
    >>> lastOf both (1,2)
    Just 2
    
    >>> lastOf ignored ()
    Nothing
    
    lastOf :: Getter s a     -> s -> Maybe a
    lastOf :: Fold s a       -> s -> Maybe a
    lastOf :: Lens' s a      -> s -> Maybe a
    lastOf :: Iso' s a       -> s -> Maybe a
    lastOf :: Traversal' s a -> s -> Maybe a
    

  9. lastsave :: RedisCtx m f => m (f Integer)

    hedis Database.Redis

    No documentation available.

  10. lastsave :: RedisCtx m f => m (f Integer)

    hedis Database.Redis.Sentinel

    No documentation available.

Page 30 of many | Previous | Next