test.lua

Sun, 07 May 2017 20:02:53 +0100

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 07 May 2017 20:02:53 +0100
changeset 6
219d7a7304f8
parent 2
3975fa5ed630
permissions
-rw-r--r--

5.3 updates


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