Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
class ListLike full item =>
InfiniteListLike full item | full -> itemListLike Data.ListLike.Base An extension to ListLike for those data types that are capable of dealing with infinite lists. Some ListLike functions are capable of working with finite or infinite lists. The functions here require infinite list capability in order to work at all.
fromList :: IsList l => [Item l] -> lListLike Data.ListLike.Base The fromList function constructs the structure l from the given list of Item l
fromList' :: ListLike full item => [item] -> fullListLike Data.ListLike.Base Generates the structure from a list.
fromListLike :: (ListLike full item, ListLike full' item) => full -> full'ListLike Data.ListLike.Base Converts one ListLike to another. See also toList'. Default implementation is fromListLike = map id
toList :: IsList l => l -> [Item l]ListLike Data.ListLike.Base The toList function extracts a list of Item l from the structure l. It should satisfy fromList . toList = id.
toList' :: ListLike full item => full -> [item]ListLike Data.ListLike.Base Converts the structure to a list. This is logically equivolent to fromListLike, but may have a more optimized implementation. These two functions are now retired in favor of the methods of IsList, but they are retained here because some instances still use this implementation.
-
-
fromList :: [(Int, Run a)] -> IMap abrick Data.IMap No documentation available.
unsafeToAscList :: IMap a -> [(Int, Run a)]brick Data.IMap This function is unsafe because IMaps that compare equal may split their runs into different chunks; consumers must promise that they do not treat run boundaries specially.