Here are some changes I did to have it compiling on Mac M1 and working on my code base. Not all of them are mandatory. For example, the usage of Ast_builder instead of Ast_helper is not necessary to have it working, and similarly for the usage of Longident.last_exn.
Here are some changes I did to have it compiling on Mac M1 and working on my code base. Not all of them are mandatory. For example, the usage of
Ast_builder
instead ofAst_helper
is not necessary to have it working, and similarly for the usage ofLongident.last_exn
.