test.lua

Tue, 16 Jan 2018 17:24:27 +0000

author
Tuomo Valkonen <tuomov@liverpool.ac.uk>
date
Tue, 16 Jan 2018 17:24:27 +0000
changeset 12
5541f9577f27
parent 2
3975fa5ed630
permissions
-rw-r--r--

Bitbucket didn't like <...> around email using HTML, so use Unicode


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