Hoogle Search

Within LTS Haskell 24.66 (ghc-9.10.3)

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

  1. safeHead :: [a] -> Maybe a

    language-protobuf Language.ProtocolBuffers.Types

    No documentation available.

  2. listToMaybe :: [a] -> Maybe a

    strict-base-types Data.Maybe.Strict

    Analogous to listToMaybe in Data.Maybe.

  3. headMay :: [a] -> Maybe a

    verset Verset

    No documentation available.

  4. lastMay :: [a] -> Maybe a

    verset Verset

    No documentation available.

  5. safeLast :: [a] -> Maybe a

    yi-mode-haskell Yi.Mode.Haskell.Dollarify

    No documentation available.

  6. safeLastP :: [a] -> Maybe a

    yi-mode-haskell Yi.Mode.Haskell.Dollarify

    No documentation available.

  7. takeT :: Default (Take a) b b => [a] -> Maybe b

    product-profunctors Data.Profunctor.Product.Examples

    A type safe generalisation of take. For example

    > let count = [1..] :: [Int]
    > takeT count :: Maybe (Int, Int)
    Just (1,2)
    > takeT count
    :: Maybe (Int, Int, (Int, (Int, Int), Int, Int),
    Const Int Bool, Identity (Int, Int), Tagged String Int)
    Just (1,2,(3,(4,5),6,7),Const 8,Identity (9,10),Tagged 11)
    

  8. getFirstElement :: Foldable t => t a -> Maybe a

    yi-core Yi.Syntax.Tree

    Return the 1st token of a subtree.

  9. getLastElement :: Foldable t => t a -> Maybe a

    yi-core Yi.Syntax.Tree

    Return the last token of a subtree.

  10. safeHeadG :: Foldable t => t a -> Maybe a

    monoid-insertleft Data.InsertLeft

    If a structure is empty, just returns Nothing.

Page 5 of many | Previous | Next