OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace-rocks commits / 6371eb5

Fix value deref in example
6371eb5334d09477b2b559248f886e46beb863d1
by Linas Vepstas <linasvepstas@gmail.com> · 2026-01-18T06:03:03.000Z

Changed files (1) +2 -2

examples/query-storage.scm +2 -2
……@@ -157,8 +157,8 @@
157157(cog-value->list (cog-value get-tail metadata))
158158
159159; Print the time-string... a bit verbose, but whatever.
160(strftime "%c" (localtime (inexact->exact (car
161 (cog-value->list (cog-value get-tail metadata))))))
160(strftime "%c" (localtime (inexact->exact
161 (cog-value-ref get-tail metadata 0))))
162162
163163; Again, the format of the metadata is subject to change.
164164