This commit is contained in:
Scott Richmond 2024-06-15 22:19:50 -04:00
parent 2bebd2261e
commit 03d5fb3450

View File

@ -67,7 +67,7 @@ You can see what this looks like in the last clause of `add`: `((x1, y1), (x2, y
[any?](#any)    [concat](#concat)    [count](#count)    [downcase](#downcase)    [empty?](#empty)    [join](#join)    [sentence](#sentence)    [show](#show)    [slice](#slice)    [split](#split)    [string](#string)    [string?](#string)    [strip](#strip)    [trim](#trim)    [upcase](#upcase)    [words](#words)
### Tuples
[any?](#any)    [at](#at)    [coll?](#coll)    [count](#count)    [empty?](#empty)    [first](#first)    [ordered?](#ordered)    [second](#second)    [tuple?](#tuple)
[any?](#any)    [at](#at)    [coll?](#coll)    [count](#count)    [empty?](#empty)    [first](#first)    [last](#last)    [ordered?](#ordered)    [rest](#rest)    [second](#second)    [tuple?](#tuple)
### Turtle graphics
[back!](#back)    [background!](#background)    [bk!](#bk)    [clear!](#clear)    [colors](#colors)    [fd!](#fd)    [forward!](#forward)    [goto!](#goto)    [heading](#heading)    [heading/vector](#heading/vector)    [home!](#home)    [left!](#left)    [lt!](#lt)    [pc!](#pc)    [pd!](#pd)    [pencolor](#pencolor)    [pencolor!](#pencolor)    [pendown!](#pendown)    [pendown?](#pendown)    [penup!](#penup)    [penwidth](#penwidth)    [penwidth!](#penwidth)    [position](#position)    [pu!](#pu)    [pw!](#pw)    [render\_turtle!](#render\_turtle)    [reset\_turtle!](#reset\_turtle)    [right!](#right)    [rt!](#rt)    [turtle\_state](#turtle\_state)
@ -1258,7 +1258,7 @@ Returns the sine of an angle. Default angle measure is turns. An optional keywor
---
### slice
Returns a slice of a list, representing a sub-list.
Returns a slice of a list or a string, representing a sub-list or sub-string.
```
(xs as :list, end as :number)
(xs as :list, start as :number, end as :number)