Error: Unbound value compare_list

I’m trying to get rid of open Base, since it’s an absolute minefield of a lib, but getting some weird error messages for ppx extensions.

Does ppx_compare depend on open Base? I’m getting

8 |     includes list *
                 ^^^^
Error: Unbound value compare_list
Hint: Did you mean compare_kind?

Solved by replacing open Base with more specifics:

open Ppx_compare_lib.Builtin
open Sexplib.Std

for compare and sexp.