test.lua

Tue, 16 Jan 2018 17:02:29 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 16 Jan 2018 17:02:29 +0000
changeset 9
751216807683
parent 2
3975fa5ed630
permissions
-rw-r--r--

Further lua5.3 compatibility fixes


require('scan')

h=scan.scan('/home/tuomov/work/newblog/src')

scan.hfold(h, '',
      function(a, n) return a.."/"..n end, 
      function(a, n) print(a.." | "..n) end)
      

mercurial