Fork me on GitHub

Hi all, I’m going through the datomic tutorial at , and trying to understand the samples/seattle/getting-started.clj file in the free datomic distribution. The transactions have an @ symbol before the form, e.g. `;; submit seed data transaction @(d/transact conn data-tx)` . What does this symbol signify? Is this a clojure annotation of some kind, or specific to datomic?


never mind, managed to find it by googling “at sign clojure”, found this useful link


OK @ghufran, so you are now aware that the transact function returns a future, that you deref with the @ sign? This code is identical:

(deref (d/transact conn data-tx))