JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

keep-syntax

core-api


    function
    boot.janet on line 1336, column 1

    (keep-syntax before after)

    Creates a tuple with the tuple type and sourcemap of `before` but 
    the elements of `after`. If either one of its arguments is not a 
    tuple, returns `after` unmodified. Useful to preserve syntactic 
    information when transforming an ast in macros.


0 examplesSign in to add an example
Loading...