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.
lookup :: T -> ShipSize -> NumberOfShipsbattleship-combinatorics Combinatorics.Battleship.Fleet No documentation available.
lookup :: DomCod z => z -> Dom z -> Maybe (Cod z)bimaps Data.Bijection.Class No documentation available.
lookup :: BinList a -> Int -> Maybe abinary-list Data.BinaryList O(log n). Lookup an element in the list by its index (starting from 0). If the index is out of range, Nothing is returned.
lookup :: ByteString -> Trie a -> Maybe abytestring-trie Data.Trie Return the value associated with a query string if it exists.
-
cabal-install Distribution.Client.InstallPlan Lookup a package in the plan.
lookup :: Ord p => p -> LexTree p a -> Maybe acalligraphy Calligraphy.Util.LexTree No documentation available.
lookup :: Eq a => a -> [(a, b)] -> Maybe bclash-prelude Clash.HaskellPrelude lookup key assocs looks up a key in an association list. For the result to be Nothing, the list must be finite.
Examples
>>> lookup 2 [] Nothing
>>> lookup 2 [(1, "first")] Nothing
>>> lookup 2 [(1, "first"), (2, "second"), (3, "third")] Just "second"
lookup :: Ord k => k -> CompactMap k v -> Maybe vcompactmap Data.CompactMap No documentation available.
-
compactmap Data.CompactMap.Generic No documentation available.
lookup :: FromField a => NamedRecord -> ByteString -> Parser acsv-conduit Data.CSV.Conduit.Conversion Retrieve a field in the given record by name. The result is empty if the field is missing or if the value cannot be converted to the desired type.