repeat package:streaming

Repeat an element ad inf. .
>>> S.print $ S.take 3 $ S.repeat 1
1
1
1
Repeat a functorial layer (a "command" or "instruction") forever.
Repeat an effect containing a functorial layer, command or instruction forever.
Repeat a monadic action ad inf., streaming its results.
>>> S.toList $ S.take 2 $ repeatM getLine
one<Enter>
two<Enter>
["one","two"]