Skip to content
Commit a7bdf1e6 authored by Stefan's avatar Stefan
Browse files

Avoid the <foo>_opt functions not available in older OCaml

* src/util.ml (smap_find_opt): New function to replace SMap.find_opt.

* src/eval.ml (nth_ctor_arg.find_nth): Avoid List.nth_opt.
(erasable_p2.is_erasable): Use List.exists.
parent 2269559a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment