cljsinfo / cljs.info

ClojureScript website
http://cljs.info
MIT License
96 stars 9 forks source link

Mention that keywords should not start with a number. #62

Closed annapawlicka closed 9 years ago

annapawlicka commented 9 years ago

Keywords starting with a number work in Clojure, but cause an exception in ClojureScript. More information here: http://dev.clojure.org/jira/browse/CLJS-142

shaunlebron commented 9 years ago

Thanks! didn't know about this. I added it to the docs data for keywords.

When we have docs pages built, we'll make the keyword a link from the tooltip, so they can go to the keyword doc page to learn about this gotcha.

arrdem commented 9 years ago

Fair warning, I saw mutterings elsewhere on GH today that ClojureScript will shortly support number prefixed keywords for parity with Clojure.

arrdem commented 9 years ago

https://github.com/pixie-lang/pixie/issues/294#issuecomment-99553638

shaunlebron commented 9 years ago

thanks @arrdem, sweet intel! added a note here