Function nth_cons_list::cons [] [src]

pub fn cons<A>(head: A, tail: List<A>) -> List<A>

Prepends the specified element at the head of the specified list.