Source

ocaml-lib / common.ml

Diff from to

common.ml

       else e::list_remove_nth l' (n-1)
 
 let list_n n =
-  let aux i acc =
+  let rec aux i acc =
     if i = 0
     then acc
     else aux (i-1) ((i-1)::acc)