Why are Clojure stacktraces so long?

Replying to your numbered points, it is idiomatic in Clojure to interoperate directly with Java libraries, so getting the full Java stacktrace can be helpful if you are calling into Java objects in some unexpected or unsupported way. Sounds like a good idea; I’ve often at least wished for a settable option which would allow … Read more

Explain Clojure Symbols

REPL = read eval print loop. Step through the read-eval process. READ: Clojure sees the string “(`a)”, parses it and ends up with a data structure. At read time, reader macros are expanded and not much else happens. In this case, the reader expands the backquote and ends up with this: user> (read-string “(`a)”) ((quote … Read more

How does Datomic compare to Neo4j?

There are a few fundamental difference between them: Data Model Both Neo4j and Datomic can model arbitrary relationships. They both use, effectively, an EAV (entity-attribute-value) schema so they both can model many of the same problem domains except Datomic’s EAV schema also embeds a time dimension (i.e. EAVT) which makes it very powerful if you … Read more

Pattern matching functions in Clojure?

There is ongoing work towards doing this with unification in the core.match ( https://github.com/clojure/core.match ) library. Depending on exactly what you want to do, another common way is to use defmulti/defmethod to dispatch on arbitrary functions. See http://clojuredocs.org/clojure_core/clojure.core/defmulti (at the bottom of that page is the factorial example)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)