Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromList :: IsList l => [Item l] -> lListLike Data.ListLike The fromList function constructs the structure l from the given list of Item l
fromListLike :: (ListLike full item, ListLike full' item) => full -> full'ListLike Data.ListLike Converts one ListLike to another. See also toList'. Default implementation is fromListLike = map id
toList :: IsList l => l -> [Item l]ListLike Data.ListLike The toList function extracts a list of Item l from the structure l. It should satisfy fromList . toList = id.
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.
-