loop package:streamly-core

Loop the supplied stream (first argument) around each element of the input stream (second argument) generating tuples. This is an argument flipped version of cross.
Loop by unfold. Unfold a value into a stream and nest it with the input stream. This is much faster than loop due to stream fusion.
When the followSymlinks option is enabled and a directory entry is a symbolic link, we resolve it to determine the type of the symlink target. This option controls the behavior when encountering symlink loop errors during resolution. When set to True, symlink loop errors are ignored, and the type of the entry is reported as not a directory. When set to False, the directory read operation fails with an error. The default is True. On Windows this option has no effect as of now, symlinks are not followed to determine the type.
State representing a nested loop.