It's concise, and you know the history of clojure, thank you expert!
在 2013年8月22日星期四UTC+8下午5时01分55秒,Mikera写道:
>
> It's an old style type hint, indicating that the function returns a value
> of class "Server" (the full Java class name is probably in an :import
> declaration at the top of the fi
It's an old style type hint, indicating that the function returns a value
of class "Server" (the full Java class name is probably in an :import
declaration at the top of the file)
The new style of type hint is just "^Server".
Both forms of type hint still work at present, but you should prefer
Hi,
I read source code about run-jetty, as such, at 01 line: "(defn
#^Server run-jetty",
what's mean "#^Server", could you give a explanation? thank you!
01(defn #^Server run-jetty
02 "Serve the given handler according to the options.
03 Options:
04:configurator - A function called