test.lua

Wed, 31 Jan 2018 19:51:10 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 31 Jan 2018 19:51:10 +0000
changeset 15
82d254b8f01e
parent 2
3975fa5ed630
permissions
-rw-r--r--

added markdown: true/false meta-tag


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