3 ms·
Can't make it build, unfortunately: ocamlopt -c lib.ml File "lib.ml", line 24, characters 49-58: Error: Unbound value List.mapi TBF, this is proba
by david-given 11y ago
Can't make it build, unfortunately:
ocamlopt -c lib.ml
File "lib.ml", line 24, characters 49-58:
Error: Unbound value List.mapi
TBF, this is probably a good thing; it's not like I have any time...
- gnuvince 11y agoList.mapi was added in OCaml 4.00.0 [1], so it's likely that you are using an older version of the compiler. [1] http://caml.inria.fr/pub/docs/manual-ocaml/libref/List.html http://caml.inria.fr/pub/docs/manual-ocaml/libref/List.html