From dcf3cc5f233caf99fd63aaf246fc4135dfe7c403 Mon Sep 17 00:00:00 2001 From: Thom Date: Wed, 22 Aug 2018 19:38:37 -0700 Subject: [PATCH] Document lookup-ref differences. --- Differences-from-Datomic.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Differences-from-Datomic.md b/Differences-from-Datomic.md index a1d0558..5f8e0d1 100644 --- a/Differences-from-Datomic.md +++ b/Differences-from-Datomic.md @@ -75,4 +75,10 @@ Datomish's JS API exposes a simple schema interface through `db.ensureSchema`. T "doc": "A snapshot of the page's content. Should be plain text."}, ] } -``` \ No newline at end of file +``` + +## Lookup Refs + +There's a small syntactic difference with how lookup refs are indicated in EDN. Where in Datomic they will be indicated as `[:namespace/attr value]`, in Mentat they are represented as `(lookup-ref :namespace/attr value)`. + +This may be fixed in a future version of Mentat, see issue https://github.com/mozilla/mentat/issues/392. \ No newline at end of file