OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace-rocks commits / 6f2cedd

Fix up explanations in the examples
6f2cedde073c40f51c88701ce272ce587bafe2d0
by Linas Vepstas <linasvepstas@gmail.com> · 2026-01-18T06:06:49.000Z

Changed files (2) +9 -5

examples/query-storage.scm +4 -1
……@@ -176,7 +176,10 @@
176176(cog-set-value! rsn (*-fetch-query-*) b-holders results-key)
177177(cog-value b-holders results-key)
178178
179; Verify that everything landed in the AtomSpace.
179; Verify that everything landed in the AtomSpace. Note that this is
180; different from MeetLink behavior! With MeetLink, only the query
181; results are brought into the AtomSpace, not the structures that were
182; searched. With JoinLink, the matched structures ARE brought in.
180183(cog-get-all-roots)
181184
182185; ------------------------
examples/space-frames.scm +5 -4
……@@ -157,12 +157,13 @@
157157(check-spaces "bar-space" mid1-space (cog-atomspace (gdr lilly)))
158158
159159; The above ListLink was first created in the mid2-space, and it
160; captured the truth values on `foo` and `bar` as they were, in this
161; space. But then, later on, in the top space, the value on `foo` was
162; changed. Lets take a closer look at that.
160; captured the values on `foo` and `bar` as they were, in this
161; space. But then, later on, in mid3-space, the value on `foo` was
162; changed (and this is visible from surface-space). Lets take a closer
163; look at that.
163164(cog-set-atomspace! surface-space)
164165(define top-lilly (ListLink (Concept "foo") (Concept "bar")))
165(format #t "The top-most list link is:\n~A\n" lilly)
166(format #t "The top-most list link is:\n~A\n" top-lilly)
166167
167168; Another handy printer.
168169(define (check-equal MSG A B)