Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some function Vars defined with def aren't categorized as Functions #33

Open
jafingerhut opened this issue May 1, 2012 · 2 comments
Open

Comments

@jafingerhut
Copy link
Collaborator

These are categorized as Var by get-docs-map, but is there a way they could instead be categorized as Function? clj-http.core/proxy-delete-with-body and proxy-get-with-body. It looks like the extension of the docsmap protocol for type clojure.lang.Var in clj-info's doc2map.clj is categorizing those as Vars rather than Functions because either they have no metadata, or if they do, their metadata has no value for the key :arglists.

@franks42
Copy link
Owner

franks42 commented May 2, 2012

The issue is that proxy-delete-with-body is defined with a def:
(def proxy-delete-with-body (make-proxy-method-with-body :delete))
and the meta-map doesn't give any info about the arity.

It is identified as an but so is a {}...

Not sure what to do about this (?)

@franks42
Copy link
Owner

franks42 commented May 2, 2012

I noticed that the issue-form eats anything that resembles html pointy brackets :-(

I was pinging out in the previous reply that proxy-delete-with-body is both a "fn" and "fin" but not "defn" because it lost the arty info in the meta-map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants