ex2.lua 233 B

1234567891011
  1. function filter.cycle(lowlevel, context, extra)
  2. return function(chunk)
  3. local ret
  4. ret, context = lowlevel(context, chunk, extra)
  5. return ret
  6. end
  7. end
  8. function normalize(marker)
  9. return filter.cycle(eol, 0, marker)
  10. end