Remove function eachy.

Instead use `each`.
This commit is contained in:
Calvin Rose
2021-01-03 16:19:23 -06:00
parent c357af02c2
commit 4355420994
2 changed files with 1 additions and 16 deletions
-9
View File
@@ -7,15 +7,6 @@
(print "simple yielding")
(each item f (print "got: " item ", now " (fiber/status f)))
(def f
(coro
(for i 0 10
(yield (string "yield " i))
(ev/sleep 0))))
(print "old style fiber iteration")
(eachy item f (print "got: " item ", now " (fiber/status f)))
(def f
(coro
(for i 0 10