Skip to content

FUNCTIONNAME inside a function that generates the docstring #149

@ArnoStrouwen

Description

@ArnoStrouwen

Is it possible to get FUNCTIONNAME to work inside a function that generates the docstring? Something similar to

function gen_docstring()
    """
        $(FUNCTIONNAME)(x)
    """
end
@doc gen_docstring()
function f(x)
    x
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions