summary refs log tree commit diff
path: root/lib/slice.fnl
blob: 4f0de0fd96fe11afc416872c3662a3c245603424 (plain)
1
2
3
4
5
(fn slice [t start stop]
  (fcollect [i start (or stop (length t))]
    (. t i)))

{: slice}