Comments (5)
No, I don't think so. Special forms are special because they are defined in clojure.lang.Compiler, not in clojure.core. Namespace doesn't make sense for them.
from compliment.
Special forms are special because they are defined in clojure.lang.Compiler, not in clojure.core
Of course. I only ask as it seems ambiguous to me as to whether they should be considered to be, in a sense, part of core. For example they're included in the API documentation for clojure.core
: http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/do - but maybe that's just because there isn't any other sensible place in the API docs for them to go :-).
from compliment.
clojure.core
has many weird things because of the limited runtime, and explicitly attaching the docs to symbols is one of them. Anyway I don't see how pretending that special forms belong to a namespace achieves anything. After all, frontend can itself decide to attach clojure.core
ns to a special form if it wants to.
from compliment.
Yeah, that definitely makes sense. I considered the frontend doing it - cljs.core
complicates this as the frontend generally doesn't know if it's dealing with Clojure or ClojureScript - but as you say, it doesn't really achieve anything. Thanks for considering regardless.
from compliment.
No problem. If there are technical reasons for doing this (compatibility, etc.), tell me and I will change the current behavior.
from compliment.
Related Issues (20)
- is there an example how to use `compliment` within emacs but without cider? HOT 2
- Too many completions for Java objects HOT 3
- Don't offer completions for `^:deprecated` vars? HOT 7
- Some of the latest changes are missing in the released version HOT 7
- ns completions for cljc-files HOT 2
- Doc of ns via alias HOT 3
- proposal: completion and documentation with leading literals HOT 7
- var-quote completions without a ns part HOT 2
- No completions for locals if context contains qualified keyword with dot in the name HOT 2
- Suggest private vars when using var-quote? HOT 2
- utils/classes-on-classpath can return non-classes HOT 5
- String literals aren't inferred as strings HOT 6
- Give `some->`/`some->>` similar treatment than that of `->`/`->>` HOT 2
- Type inference from static method calls HOT 1
- License on compliment lite HOT 1
- Good completion suggestions require extra type hints HOT 2
- compliment.sources.class-members could add the class to its candidates HOT 4
- Interest in cljs-ish completions? HOT 2
- No completion for locals when hashset literal is used within short lambda syntax HOT 5
- Determining if the prefix is being called within a given function/macro HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compliment.