repeat -package:storablevector

repeat x is an infinite list, with x the value of every element.
>>> repeat 17
[17,17,17,17,17,17,17,17,17...
repeat x returns a constant stream, where all elements are equal to x.
repeat x is an infinite ByteString, with x the value of every element.
repeat x is an infinite ByteString, with x the value of every element.
repeat x is an infinite Text, with x the value of every element.
Produce an infinite stream consisting entirely of the given value. Subject to fusion
repeat x is an infinite list, with x the value of every element.
>>> take 20 $ repeat 17
[17,17,17,17,17,17,17,17,17...
Monadic repeat.
Repeat an element ad inf. .
>>> S.print $ S.take 3 $ S.repeat 1
1
1
1
repeat x is an infinite list, with x the value of every element.
An infinite list where each element is the same
repeat x is an infinite ByteStream, with x the value of every element.
>>> R.stdout $ R.take 50 $ R.repeat 60
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

>>> Q.putStrLn $ Q.take 50 $ Q.repeat 'z'
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
repeat x is an infinite ByteStream, with x the value of every element.
Produce an infinite stream.
Create a container with as many copies as possible of a given value. That is, for a container with fixed size n, the call repeat x will generate a container with n copies of x.
Generate an infinite stream by repeating a pure value.
Generate an infinite stream by repeating a pure value.
A repeat structure.
repeat x returns a constant stream, where all elements are equal to x.
repeat the given parser a given amount of time Unlike some or many, this operation will bring more precision on how many times you wish a parser to be sequenced. ## Repeat Exactly a number of time
repeat (Exactly 6) (takeWhile ((/=) ',') <* element ',')
## Repeat Between lower `And` upper times
repeat (Between $ 1 `And` 10) (takeWhile ((/=) ',') <* element ',')
An infinite list with all its elements equal to the given argument.