test.lua

changeset 2
3975fa5ed630
parent 1
e2face1be50e
--- a/test.lua	Tue Mar 17 21:39:41 2009 +0200
+++ b/test.lua	Sat Sep 12 21:27:57 2009 +0300
@@ -1,9 +1,9 @@
 
 require('scan')
 
-h=scan('/home/tuomov/work/ion-homepage/src')
+h=scan.scan('/home/tuomov/work/newblog/src')
 
-hfold(h, '',
+scan.hfold(h, '',
       function(a, n) return a.."/"..n end, 
-      function(a, n) print(a.."/"..n) end)
+      function(a, n) print(a.." | "..n) end)
       
\ No newline at end of file

mercurial