OCaml's List Module in Rust