Hoogle Search
Within LTS Haskell 24.12 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
itoList :: FoldableWithIndex i f => f a -> [(i, a)]indexed-traversable Data.Foldable.WithIndex Extract the key-value pairs from a structure. When you don't need access to the indices in the result, then toList is more flexible in what it accepts.
toList ≡ map snd . itoList
fromList :: Routable k => [(AddrRange k, a)] -> IPRTable k aiproute Data.IP.RouteTable The fromList function creates a new IP routing table from a list of a pair of IPrange and value.
toList :: Routable k => IPRTable k a -> [(AddrRange k, a)]iproute Data.IP.RouteTable The toList function creates a list of a pair of AddrRange and value from an IP routing table.
fromList :: Routable k => [(AddrRange k, a)] -> IPRTable k aiproute Data.IP.RouteTable.Internal The fromList function creates a new IP routing table from a list of a pair of IPrange and value.
toList :: Routable k => IPRTable k a -> [(AddrRange k, a)]iproute Data.IP.RouteTable.Internal The toList function creates a list of a pair of AddrRange and value from an IP routing table.
fromListAccum :: [(Key, Value)] -> Objectattoparsec-aeson Data.Aeson.Parser.Internal fromListAccum kvs is an object mapping keys to arrays containing all associated values from the original list kvs.
>>> fromListAccum [("apple", Bool True), ("apple", Bool False), ("orange", Bool False)] fromList [("apple",Array [Bool False,Bool True]),("orange",Array [Bool False])]
parseListNoDup :: [(Key, Value)] -> Either String Objectattoparsec-aeson Data.Aeson.Parser.Internal fromListNoDup kvs fails if kvs contains duplicate keys.
-
Word with fixed length lists constructed from NonEmpty and Empty types.
toList :: forall (f :: Type -> Type) a . Foldable f => T f a -> [a]non-empty Data.NonEmpty No documentation available.
fromAscList :: Ord k => T [] (k, a) -> T k anon-empty Data.NonEmpty.Map forAllNonEmptyMap $ \m -> NonEmptyMap.fromAscList (NonEmptyMap.toAscList m) == m