Skip to content

Instantly share code, notes, and snippets.

@egisatoshi
Created August 21, 2014 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egisatoshi/cf15569e008b885dcd3f to your computer and use it in GitHub Desktop.
Save egisatoshi/cf15569e008b885dcd3f to your computer and use it in GitHub Desktop.
Module System of Egison (from version 3.4.0)
(module $Main
{
[String {string}] ; import only string
[$S [String {append concat}]] ; import only append and concat (with 'S.' as prefix)
[$S String] ; import all exported functions (with 'S.' as prefix)
}
{main} ; export main
)
(define $main
undefined)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment