New trivial function: List.singleton and Array.singleton

for completeness