kotlin
kotlin copied to clipboard
Added cycle functions, tests and documentation
Yeah that's right. Throwing the exception is necessary because otherwise the sequence would be infinite. And that's not what we want. It's just a notification that the iterator is exhausted