Re: iterator sequences (was: Standard libraries)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: iterator sequences (was: Standard libraries)
- From: Wim Couwenberg <wim.couwenberg@...>
- Date: Fri, 1 Jan 2010 18:51:21 +0100
> But your map functions do have to follow the (i,val) convention
Umm, that's actually not true at all. For example the following works
just as well:
for word in seq(string.gmatch("aap noot mies wim jet vuur", "%w+"))
(map, string.upper) do
print(word)
end
Bye,
Wim