I am pretty sure that there is nothing in the Clojure compiler that pays
attention to the key :internal in metadata.

People can put whatever metadata they want anywhere they wish, even if the
Clojure compiler ignores it.  This looks like some metadata specific to
pallet, but not sure whether it uses it for anything other than for the
purposes of a hint to people reading the code.  Hopefully someone more
knowledgeable about pallet will correct that guess if it is wrong.

Andy

On Sun, May 10, 2015 at 12:00 PM, <piastkra...@gmail.com> wrote:

> Sadly, Google seems to think I am search for "internal" when I search for
> "^:internal" so that makes it hard to find the documentation. I am curious
> about this code:
>
> ;;; Capture the standard def forms' arglists
> (def ^:internal defn-arglists (vec (:arglists (meta #'defn))))
> (def ^:internal fn-arglists (vec (:arglists (meta #'fn))))
> (def ^:internal defmulti-arglists (vec (:arglists (meta #'defmulti))))
> (def ^:internal def-arglists '[[symbol doc-string? init?]])
>
> From here:
>
>
> https://github.com/palletops/api-builder/blob/4d82355bec1ebdf7c501be71e2f3d156ae84ad2c/src/com/palletops/api_builder/impl.clj
>
> What does ^:internal mean in this context?
>
>
>
>
>
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to