SML# Document Version 4.1.0
28 The smlsharp command

28.5 Interactive mode options

-r smifile

Load additional .smi file for the initial environment. This option is useful if you want to make your own library available in the interactive session. The library indicated by the given .smi file must be compiled, in other words, all of the object files constituting the library must be prepared. The smlsharp command obtains the object files as if the .smi file is specified in link mode, link them to a shared library, and load it through the system facility of dynamic loading.