HF RL Explorer

Implement a Python generator function named split iter(src, sep=None, maxsplit=None) that lazily splits an…

Implement a Python generator function named split iter(src, sep=None, maxsplit=None) that lazily splits an…: a task in repo2rlenv-r2e (Harbor dataset). Examples of expected behavior: python list(split iter( 'hi', 'hello', None, None, 'sup', None, 'soap', None )) = 'hi', 'hello' , 'sup' , 'soap'

The task

Examples of expected behavior: ```python list(split_iter(['hi', 'hello', None, None, 'sup', None, 'soap', None])) # => [['hi', 'hello'], ['sup'], ['soap']]

Part of FineEnvs/repo2rlenv-r2e.