:: element -> [element] -> [element] -package:foundation -package:diagrams-lib package:extra

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)