Giter VIP home page Giter VIP logo

Comments (5)

alexander-yakushev avatar alexander-yakushev commented on June 1, 2024

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.

cichli avatar cichli commented on June 1, 2024

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.

alexander-yakushev avatar alexander-yakushev commented on June 1, 2024

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.

cichli avatar cichli commented on June 1, 2024

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.

alexander-yakushev avatar alexander-yakushev commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.