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.

  1. fromList :: IsList l => [Item l] -> l

    ListLike Data.ListLike

    The fromList function constructs the structure l from the given list of Item l

  2. 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

  3. 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.

  4. class ListLike full item => InfiniteListLike full item | full -> item

    ListLike 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.

  5. fromList :: IsList l => [Item l] -> l

    ListLike Data.ListLike.Base

    The fromList function constructs the structure l from the given list of Item l

  6. fromList' :: ListLike full item => [item] -> full

    ListLike Data.ListLike.Base

    Generates the structure from a list.

  7. 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

  8. 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.

  9. 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.

  10. module Data.ListLike.DList

    ListLike instances for DList

Page 107 of many | Previous | Next