JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

spork/misc/do-def

spork


    macro
    /usr/local/lib/janet/spork/misc.janet on line 326, column 1

    (do-def c d & body)

    Convenience macro for defining constant named `c` with value `d` 
    before `body` and returning it after evaluating `body`, that 
    presumably modifies the content referred to by `c`. For example, a 
    buffer, table or array.


0 examplesSign in to add an example
Loading...