Skip to content

defnk-defined functions don't document their args #118

@gfredericks

Description

@gfredericks

When you defnk something clojure.repl/doc can't find any info about the args the function takes.

When I started thinking about this I realized it's not obvious what the best solution is here; perhaps the :arglists metadata could be generated that would reflect a normal top-level destructuring form such as [{:keys [foo bar baz]}]? It wouldn't have complete information but feels like it'd be better than nothing.

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