JanetDocsPlaygroundI'm feeling luckyGitHub sign in

as-macro



    macro
    boot.janet on line 50, column 1

    (as-macro f & args)

    Use a function or macro literal `f` as a macro. This lets any 
    function be used as a macro. Inside a quasiquote, the idiom 
    `(as-macro ,my-custom-macro arg1 arg2...)` can be used to avoid 
    unwanted variable capture.


0 examplesSign in to add an example
Loading...