test.lua

Sun, 13 Sep 2009 22:22:47 +0300

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 13 Sep 2009 22:22:47 +0300
changeset 3
b2df1b3f2c83
parent 2
3975fa5ed630
permissions
-rw-r--r--

Improvements


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