JanetDocsPlaygroundI'm feeling luckyGitHub sign in

import



    macro
    boot.janet on line 2938, column 1

    (import path & args)

    Import a module. First requires the module, and then merges its 
    symbols into the current environment, prepending a given prefix as 
    needed. (use the :as or :prefix option to set a prefix). If no 
    prefix is provided, use the name of the module as a prefix. One can 
    also use "`:export true`" to re-export the imported symbols. If 
    "`:exit true`" is given as an argument, any errors encountered at 
    the top level in the module will cause `(os/exit 1)` to be called. 
    Dynamic bindings will NOT be imported. Use :fresh to bypass the 
    module cache.


1 exampleSign in to add an example
Loading...
In order to use :fresh, write:
(import path :fresh true)
SaikyunPlayground