starwing / luaiter

A iteration library for Lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation of new features

stdgregwar opened this issue · comments

new methods such as flatmap are not used in the tests and lack a bit of documentation.

I can't find the correct way of using flatmap, should'nt
range(3):flatmap(function(i) return range(i) end):each(print)
be legit code? and print 1,1,2,1,2,3?