doc: fix some errors in functional usage docs.

* lib/std/functional.lua (collect): list.relems requires a List.
(map, filter, fold): list.elems requires a List.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>