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

    HaXml Text.XML.HaXml.Schema.TypeConversion

    No documentation available.

  2. repeat :: a -> [a]

    numeric-prelude NumericPrelude

    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
    

  3. repeat :: a -> [a]

    numeric-prelude NumericPrelude.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
    

  4. repeat :: a -> [a]

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

    basic-prelude BasicPrelude

    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]

    basic-prelude BasicPrelude

    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]

    classy-prelude ClassyPrelude

    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-lib-parser GHC.Prelude.Basic

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

    ghc-lib-parser GHC.Utils.Misc

    No documentation available.

  10. shrinkNothing :: a -> [a]

    massiv-test Test.Massiv.Utils

    Returns no shrinking alternatives.

Page 3 of many | Previous | Next