(def f (generate [i :range [0 5]] (+ i i)))
(print (fiber/status f))
(print (resume f))
(print (resume f))
(print (resume f))
(print (resume f))
(print (resume f))
(print (fiber/status f)) # -> :pending
(print (resume f))
(print (fiber/status f)) # -> :dead
# :new
# 0
# 2
# 4
# 6
# 8
# :pending
#
# :dead