This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-12
Channels
- # admin-announcements (1)
- # aleph (1)
- # arachne (10)
- # beginners (6)
- # boot (81)
- # braveandtrue (3)
- # cider (42)
- # cljs-dev (1)
- # cljs-edn (52)
- # cljsjs (9)
- # cljsrn (9)
- # clojure (62)
- # clojure-austin (1)
- # clojure-belgium (11)
- # clojure-berlin (2)
- # clojure-gamedev (2)
- # clojure-greece (1)
- # clojure-russia (73)
- # clojure-uk (98)
- # clojurescript (156)
- # community-development (4)
- # component (3)
- # cursive (30)
- # datascript (10)
- # datomic (17)
- # emacs (5)
- # events (1)
- # hoplon (315)
- # jobs (1)
- # jobs-discuss (3)
- # lein-figwheel (6)
- # luminus (18)
- # off-topic (13)
- # om (130)
- # other-languages (122)
- # re-frame (32)
- # reagent (27)
- # rethinkdb (6)
- # ring (2)
- # ring-swagger (31)
- # spacemacs (4)
- # untangled (6)
- # yada (30)
To add to the above, in Clojure ^long
and ^double
are primitive type declarations. There’s a good section in chapter 11 of Clojure Programming on the subject of type declarations vs. type hints.
Hello Clojurians, I’m following to Chas’s Clojure and I’d like to hear the clarification of the idea of “code as data”… On the surface we all “know” but in fact it’s not clear for me… Ok I get the structure of code respects AST(Abstract Syntax Tree) in all meanings, but the example of reader is a bit confusing, or rather not clear enough.
The extract from the book: the operation of the reader is completely defined by a single function - read - which reads text content from a character stream and returns the next data structure encoded in the steam’s content”
- what is this “data structure" and how is it encoded?
@escherize: please don’t do this again, my brain has just encountered a deadlock 😄
@madstap: one of the simplest and most succinct explanations of 'code as data' I've seen. Nice 😄