Returns a stream of facts that match a given atom. It takes a callback to process results. If the callback returns an error, or it encounters a malformed atom, scanning stops and that error is returned.
(ast.Atom, func(ast.Atom) error)
| 29 | // to process results. If the callback returns an error, or it encounters |
| 30 | // a malformed atom, scanning stops and that error is returned. |
| 31 | GetFacts(ast.Atom, func(ast.Atom) error) error |
| 32 | |
| 33 | // Contains returns true if given atom is already present in store. |
| 34 | // This is a convenience method that has a straightforward implementation |
no outgoing calls