test.lua

Mon, 07 Sep 2020 09:15:21 +0300

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 07 Sep 2020 09:15:21 +0300
changeset 39
5fc5f93a8cad
parent 2
3975fa5ed630
permissions
-rw-r--r--

less verbosity


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