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.
-
strict Data.Strict.Maybe Analogous to listToMaybe in Data.Maybe.
listCertificates :: CertificateStore -> [SignedCertificate]crypton-x509-store Data.X509.CertificateStore List all certificates in a store
-
uniplate Data.Generics.Str Convert a list to a Str
-
deriving-compat Data.Deriving.Internal No documentation available.
-
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]
listToDot :: PrintDot a => [a] -> DotCodegraphviz 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).
listToDot :: PrintDot a => [a] -> DotCodegraphviz 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).
listofstringopt :: String -> RawOpts -> [String]hledger-lib Hledger.Data.RawOptions No documentation available.
-
ghc-lib-parser GHC.Data.Bag No documentation available.
listToArray :: Int -> (e -> Int) -> (e -> a) -> [e] -> SmallArray aghc-lib-parser GHC.Data.SmallArray Convert a list into an array.