9mm/lib/slice.fnl

6 lines
93 B
Plaintext
Raw Normal View History

2024-05-30 01:26:41 +00:00
(fn slice [t start stop]
(fcollect [i start (or stop (length t))]
(. t i)))
{: slice}