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.

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

    strict Data.Strict.Maybe

    Analogous to listToMaybe in Data.Maybe.

  2. listCertificates :: CertificateStore -> [SignedCertificate]

    crypton-x509-store Data.X509.CertificateStore

    List all certificates in a store

  3. listStr :: [a] -> Str a

    uniplate Data.Generics.Str

    Convert a list to a Str

  4. listValName :: Name

    deriving-compat Data.Deriving.Internal

    No documentation available.

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

    ghc-internal GHC.Internal.Data.Maybe

    The listToMaybe function returns Nothing on an empty list or Just a where a is the first element of the list.

    Examples

    Basic usage:
    >>> listToMaybe []
    Nothing
    
    >>> listToMaybe [9]
    Just 9
    
    >>> listToMaybe [1,2,3]
    Just 1
    
    Composing maybeToList with listToMaybe should be the identity on singleton/empty lists:
    >>> maybeToList $ listToMaybe [5]
    [5]
    
    >>> maybeToList $ listToMaybe []
    []
    
    But not on lists with more than one element:
    >>> maybeToList $ listToMaybe [1,2,3]
    [1]
    

  6. listToDot :: PrintDot a => [a] -> DotCode

    graphviz Data.GraphViz.Printing

    The quoted form of unqtListToDot; defaults to wrapping double quotes around the result of unqtListToDot (since the default implementation has characters that must be quoted).

  7. listToDot :: PrintDot a => [a] -> DotCode

    graphviz Data.GraphViz.Types

    The quoted form of unqtListToDot; defaults to wrapping double quotes around the result of unqtListToDot (since the default implementation has characters that must be quoted).

  8. listofstringopt :: String -> RawOpts -> [String]

    hledger-lib Hledger.Data.RawOptions

    No documentation available.

  9. listToBag :: [a] -> Bag a

    ghc-lib-parser GHC.Data.Bag

    No documentation available.

  10. listToArray :: Int -> (e -> Int) -> (e -> a) -> [e] -> SmallArray a

    ghc-lib-parser GHC.Data.SmallArray

    Convert a list into an array.

Page 23 of many | Previous | Next