So I just figured out how to set up VSCode on WSL2/Ubuntu and ran a basic code that reads a json file and prints the length of the string.
I now want to be able to work with data from the file and for this I created a types.adt file with the type definition of the objects in the JSON file.
I ran adtgen on it and got the types.adt_j.ml and types.adt_j.mli
I see that types.adt_j.ml has a function that takes a string and returns my custom type.
But how do I call this function?
In app.ml how do I call the function in types.adt_j.ml?