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.
-
base 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
-
base Data.List Construct a list from a single element.
Examples
>>> singleton True [True]
>>> singleton [1, 2, 3] [[1,2,3]]
>>> singleton 'c' "c"
-
base 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
-
base GHC.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
-
QuickCheck Test.QuickCheck Returns no shrinking alternatives.
-
QuickCheck Test.QuickCheck.Arbitrary Returns no shrinking alternatives.
-
tasty-quickcheck Test.Tasty.QuickCheck Returns no shrinking alternatives.
-
hedgehog Hedgehog.Internal.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
-
ghc GHC.Prelude.Basic No documentation available.
-
ghc GHC.Utils.Misc No documentation available.
Page 1 of many | Next