I wonder if there is a shorter way of running a Query against an Elpi database than:
Elpi Command Foo.
Elpi Accumulate Db test.db.
Elpi Query lp:{{
my-pred A B.
}}.
no. but usually you have a Foo already, so Elpi Query Foo lp:{{ ... }}. should do
Ah OK, I missed the optional program parameter for Query!
Michael Soegtrop has marked this topic as resolved.
Last updated: Oct 13 2024 at 01:02 UTC