Skip to content

tpreviero/OMLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

OMLoader

A simple library to load other scripts from other folders in ML. Once cloned the project in a subfolder of your project you can use it like

  use "path/to/OMLoader/OMLoader.sml";
  open OMLoader;

After this first manual import where you have to specify the whole path you can simply write

  into("modules/myModule", load("moduleName"));

which is the same as writing

  use "modules/myModule/moduleName.sml"

with the only difference that in moduleName.sml now you can import files from the same folder as you'd normally use with use.

For a sample have a look to the example.sml.

About

A module loader for Standard ML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published