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.

  1. newtype ZipList a

    graphviz Data.GraphViz.Parsing

    Lists, but with an Applicative functor based on zipping.

    Examples

    In contrast to the Applicative for List:
    >>> (+) <$> [1, 2, 3] <*> [4, 5, 6]
    [5,6,7,6,7,8,7,8,9]
    
    The Applicative instance of ZipList applies the operation by pairing up the elements, analogous to zipWithN
    >>> (+) <$> ZipList [1, 2, 3] <*> ZipList [4, 5, 6]
    ZipList {getZipList = [5,7,9]}
    
    >>> (,,,) <$> ZipList [1, 2] <*> ZipList [3, 4] <*> ZipList [5, 6] <*> ZipList [7, 8]
    ZipList {getZipList = [(1,3,5,7),(2,4,6,8)]}
    
    >>> ZipList [(+1), (^2), (/ 2)] <*> ZipList [5, 5, 5]
    ZipList {getZipList = [6.0,25.0,2.5]}
    

  2. ZipList :: [a] -> ZipList a

    graphviz Data.GraphViz.Parsing

    No documentation available.

  3. getZipList :: ZipList a -> [a]

    graphviz Data.GraphViz.Parsing

    No documentation available.

  4. parseList :: ParseDot a => Parse [a]

    graphviz Data.GraphViz.Parsing

    No documentation available.

  5. parseUnqtList :: ParseDot a => Parse [a]

    graphviz Data.GraphViz.Parsing

    No documentation available.

  6. tryParseList :: ParseDot a => Parse [a]

    graphviz Data.GraphViz.Parsing

    Try to parse a list of the specified type; returns an empty list if parsing fails.

  7. tryParseList' :: Parse [a] -> Parse [a]

    graphviz Data.GraphViz.Parsing

    Return an empty list if parsing a list fails.

  8. unqtListToDot :: PrintDot a => [a] -> DotCode

    graphviz Data.GraphViz.Printing

    The correct way of representing a list of this value when printed; not all Dot values require this to be implemented. Defaults to Haskell-like list representation.

  9. parseList :: ParseDot a => Parse [a]

    graphviz Data.GraphViz.Types

    No documentation available.

  10. parseUnqtList :: ParseDot a => Parse [a]

    graphviz Data.GraphViz.Types

    No documentation available.

Page 102 of many | Previous | Next