Hoogle Search

Within LTS Haskell 24.16 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. repeat :: a -> [a]

    rio RIO.List

    repeat x is an infinite list, with x the value of every element.

    Examples

    >>> take 10 $ repeat 17
    [17,17,17,17,17,17,17,17,17, 17]
    
    >>> repeat undefined
    [*** Exception: Prelude.undefined
    

  2. repeat :: a -> [a]

    Cabal-syntax Distribution.Compat.Prelude

    No documentation available.

  3. repeat :: a -> [a]

    relude Relude.List.Reexport

    repeat x is an infinite list, with x the value of every element.

    Examples

    >>> take 10 $ repeat 17
    [17,17,17,17,17,17,17,17,17, 17]
    
    >>> repeat undefined
    [*** Exception: Prelude.undefined
    

  4. singleton :: a -> [a]

    ghc-internal GHC.Internal.Data.List

    Construct a list from a single element.

    Examples

    >>> singleton True
    [True]
    
    >>> singleton [1, 2, 3]
    [[1,2,3]]
    
    >>> singleton 'c'
    "c"
    

  5. repeat :: a -> [a]

    ghc-internal GHC.Internal.Data.List

    repeat x is an infinite list, with x the value of every element.

    Examples

    >>> take 10 $ repeat 17
    [17,17,17,17,17,17,17,17,17, 17]
    
    >>> repeat undefined
    [*** Exception: Prelude.undefined
    

  6. singleton :: a -> [a]

    ghc-internal GHC.Internal.Data.OldList

    Construct a list from a single element.

    Examples

    >>> singleton True
    [True]
    
    >>> singleton [1, 2, 3]
    [[1,2,3]]
    
    >>> singleton 'c'
    "c"
    

  7. repeat :: a -> [a]

    ghc-internal GHC.Internal.Data.OldList

    repeat x is an infinite list, with x the value of every element.

    Examples

    >>> take 10 $ repeat 17
    [17,17,17,17,17,17,17,17,17, 17]
    
    >>> repeat undefined
    [*** Exception: Prelude.undefined
    

  8. repeat :: a -> [a]

    ghc-internal GHC.Internal.List

    repeat x is an infinite list, with x the value of every element.

    Examples

    >>> take 10 $ repeat 17
    [17,17,17,17,17,17,17,17,17, 17]
    
    >>> repeat undefined
    [*** Exception: Prelude.undefined
    

  9. repeat :: a -> [a]

    protolude Protolude

    repeat x is an infinite list, with x the value of every element.

    Examples

    >>> take 10 $ repeat 17
    [17,17,17,17,17,17,17,17,17, 17]
    
    >>> repeat undefined
    [*** Exception: Prelude.undefined
    

  10. keep :: a -> [a]

    HaXml Text.XML.HaXml.Combinators

    No documentation available.

Page 2 of many | Previous | Next