:: [a] -> a -> [a] package:extra

Append an element to the end of a list, takes O(n) time.
snoc "tes" 't' == "test"
\xs x -> unsnoc (snoc xs x) == Just (xs,x)
Append an element to the start of a list, an alias for (:).
cons 't' "est" == "test"
\x xs -> uncons (cons x xs) == Just (x,xs)