ocaml add element to end of list

39

let append_item lst a = lst @ [a]  // O(n)

Comments

Submit
0 Comments