ex7.lua 230 B

12345678910111213141516
  1. function sink.table(t)
  2. t = t or {}
  3. local f = function(chunk, err)
  4. if chunk then table.insert(t, chunk) end
  5. return 1
  6. end
  7. return f, t
  8. end
  9. local function null()
  10. return 1
  11. end
  12. function sink.null()
  13. return null
  14. end