Search
Monday, 30th of March 2020, 16:37:56 UTC
18:21:45
puchacz
hi, I am trying to use cl-conspack with (tracking-refs (*refs*) (decode (encode x)))
18:21:49
puchacz
but I am getting an error
18:22:04
puchacz
Duplicate object ID: 2 Existing value: ROW-CREATION New value: ROW-CREATION
18:22:29
puchacz
I understand it is trying to recreate a symbol
18:22:35
puchacz
surely this symbol exists
18:24:10
puchacz
it can decode when I skip tracking refs, but of course I am left with forward reference inside an object
20:34:13
equwal
LdBeth: https://github.com/matrix-org/matrix-appservice-irc/issues/1008
21:23:53
Lord_of_Life_
** NICK Lord_of_Life
21:28:51
puchacz
FYI, solved my conspack problem
21:36:19
phoe
puchacz: what's the solution?
21:39:20
puchacz
okay, so I had decode and encode that was not specialised, so it was the first problem. I realised I should at least specialise on standard-object
21:39:58
puchacz
next, there are forward references, but they are only resolved if they are kept in alist or a hashmap, or an array, but not in the slot of the object
21:40:08
puchacz
I think it is a bug in conspack
21:40:42
puchacz
so my workaround was to store alists as decoding is progressing, and only copy values from alists to slots after conspack is done
21:41:42
puchacz
anyaway, I am off, getting late here :)
21:42:54
puchacz
so, thumbs up for conspack. much better than json or similar
2:35:01
bmansurov
** NICK Guest82649
Tuesday, 31st of March 2020, 4:37:56 UTC