summary refs log tree commit diff
path: root/lib/tail.fnl
blob: 24de2548c1c91080dde4ddcf7799d59ca006f68f (plain)
1
2
3
4
5
6
7
; return the table minus the head
(fn tail [t]
  (icollect [i v (ipairs t)]
            (if (> i 1)
              v)))

{: tail}