JanetDocsI'm feeling luckyGithub sign in

varfn



    macro
    boot.janet on line 1909, column 1

    (varfn name & body)
    
    Create a function that can be rebound. varfn has the same signature as
    defn, but defines functions in the environment as vars. If a var 'name'
    already exists in the environment, it is rebound to the new function.
    Returns a function.


0 examplesSign in to add an example
Loading...