6 lines
93 B
Fennel
6 lines
93 B
Fennel
(fn slice [t start stop]
|
|
(fcollect [i start (or stop (length t))]
|
|
(. t i)))
|
|
|
|
{: slice}
|