Strangely making the change to my code didn't fix it (I got an exception 
about an uneven number of elements in a map) but copying and pasting your 
code -once I'd fixed the half dozen bracket and brace errors that have been 
introduced- it does work.

Ta.

On Wednesday, December 17, 2014 7:02:12 AM UTC, edw...@kenworthy.info wrote:

> I've tried that already but then Clojure complains about there being an 
> uneven number of elements in a map.
>
> Curious though: did the original code ever actually work? Is it something 
> that was deprecated?
>
> Have to say I am happy if that's the case, the original seemed 
> unnecessarily arcane where as a standard function call is obvious.
>
> On Tuesday, December 16, 2014 11:42:10 PM UTC, Ryan Neufeld wrote:
>
>> Yeah, we shouldn't be telling you to use reader literals like that. 
>> Preferred is a call to (d/tempid ...). I'm updating the code now (
>> https://github.com/clojure-cookbook/clojure-cookbook/blob/master/06_databases/6-11_schema.asciidoc
>> )
>>
>> On Tuesday, December 16, 2014 2:01:00 PM UTC-6, edw...@kenworthy.info 
>> wrote:
>>>
>>> I'm following the Clojure Cookbook recipe for defining a schema in 
>>> datomic.
>>>
>>> One of the forms is: #db/id[:db.part/db] but this generates an exception 
>>> "clojure.lang.ExceptionInfo: No reader function for tag id :: {:column 
>>> 25, :line 27, :type :reader-exception}"
>>>
>>> Can anyone offer any insight?
>>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to