chexum has quit [Read error: Connection reset by peer]
chexum has joined #picolisp
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
seninha has joined #picolisp
chexum has quit [Ping timeout: 258 seconds]
chexum has joined #picolisp
hrberg has quit [Ping timeout: 260 seconds]
kced has joined #picolisp
<kced>
hello
<beneroth>
hello kced, welcome
<kced>
I was gonna ask about +Hook but figured it out :)
<beneroth>
congrats. +Hook is a bit tricky :)
<beneroth>
keep in mind that you can hooked indexes only once you already obtained an object its hooked to.
<beneroth>
then again, that is the purpose. makes short indexes for record-specific sub-objects
<beneroth>
*that you can _use_ hooked indexes...
<kced>
I see. I was trying to use it with collect and db
<kced>
At first, I wasn't sure if the hook argument meant the rel or the object itself
<beneroth>
it means the object
<beneroth>
once you indexed an hooked rel, you can (show) the +Hook object and you will see it has additionally to its own rels/properties also a property with the class of the sub-/hooked objects pointing to the root node of its indexes
<beneroth>
so a property named +Class, same as the global root indexes in (show *DB) (which is the same as (show {1})
<beneroth>
"I was trying to use it with collect and db" yeah happened to me too. doesn't work ofc :)
<beneroth>
not without providing a suitable hook object