So, in summary, it should look like: -c option: Compile a source file which must contain a function main of type unit -> unit (or string list => unit or string list -> int ???) and export the object file.
Currently, PolyML.export expects unit -> unit, so in my opinion one should stick with that to avoid confusion.
- Ren?