(fn get-at [t x y]
"Returns one element from the list at the given coordinates."
(var found nil)
(each [_ o (ipairs t)]
(match o
{: x : y} (set found o)))
found)
{: get-at}
(fn get-at [t x y]
"Returns one element from the list at the given coordinates."
(var found nil)
(each [_ o (ipairs t)]
(match o
{: x : y} (set found o)))
found)
{: get-at}