test.lua

Fri, 17 Jul 2020 12:25:24 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 17 Jul 2020 12:25:24 -0500
changeset 31
7b21ec8ec96a
parent 2
3975fa5ed630
permissions
-rw-r--r--

fix weird nodejs length/index


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