Batteries is the only thing keeping us from OCaml 5 and its usage in CIL is ridiculously minimal: only BatList.filter_map.
Therefore this adds its implementation to an util module (OCaml >= 4.08 would have List.filter_map, but CIL supports >= 4.05 right now) and adds OCaml 5 alpha to the CI.
Batteries is the only thing keeping us from OCaml 5 and its usage in CIL is ridiculously minimal: only
BatList.filter_map
. Therefore this adds its implementation to an util module (OCaml >= 4.08 would haveList.filter_map
, but CIL supports >= 4.05 right now) and adds OCaml 5 alpha to the CI.