Fix Comment "Actual Functions" after tree function

This commit is contained in:
Talia 2018-08-15 10:56:22 +02:00
parent 70e2149f81
commit 5eda85952e
1 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,10 @@ match_all = (str, pat, init=0) ->
return str\sub(s,e), match_all(str, pat, e+1)
match_lines = (str) -> match_all(str, '[^\n]+')
-- ┌──────────────────┐
-- │ Actual Functions │
-- └──────────────────┘
tree = (tab, pref='') ->
print tab.title and tab.title or '┐'
@ -27,10 +31,6 @@ tree = (tab, pref='') ->
pad = (str='', len) ->
str..string.rep(" ", len-#str)
-- ┌──────────────────┐
-- │ Actual Functions │
-- └──────────────────┘
import max from math
chktbl = (obj) -> error("Object is not a table", 2) if type(obj) ~= 'table'