Currently if we pass enumerate into fl, it will be treated as a single element. e.g.:
>>> from fpu.flist import fl
>>> fl(enumerate(['A','B','C'])).head() # Current behavior
<enumerate object at 0x7fd8ddc8ff10>
>>> fl(list(enumerate(['A','B','C']))).head() # Expected behavior is we could have same result by `fl(enumerate(['A','B','C'])).head()`
(2, 'C')
Currently if we pass
enumerate
intofl
, it will be treated as a single element. e.g.: