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]

    prelude-compat Data.List2010

    No documentation available.

  2. repeat :: a -> [a]

    prelude-compat Prelude2010

    No documentation available.

  3. repeat :: a -> [a]

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    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. repeat :: a -> [a]

    LambdaHack Game.LambdaHack.Core.Prelude

    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
    

  5. singleton :: a -> [a]

    LambdaHack Game.LambdaHack.Core.Prelude

    Construct a list from a single element.

    Examples

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

  6. repeat :: a -> [a]

    LambdaHack Game.LambdaHack.Core.Prelude

    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
    

  7. repeat :: a -> [a]

    cabal-install-solver Distribution.Solver.Compat.Prelude

    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. singleton :: a -> [a]

    ihaskell IHaskellPrelude

    Construct a list from a single element.

    Examples

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

  9. repeat :: a -> [a]

    ihaskell IHaskellPrelude

    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. repeat :: a -> [a]

    incipit-base Incipit.Base

    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
    

Page 4 of many | Previous | Next