我不知道如何處理autoNumbered在LogicBlox refmode謂詞/ LogiQL如何在LogiQL中創建一個autoNumbered謂詞?
我跟着manual的例子,但然後我有麻煩主張的事實進入實體謂語,第一個將被添加,但隨後的嘗試會不是。
這是我試圖在LB互動殼裏做:
lb> create wibble
created workspace 'wibble'
lb wibble> addblock '
>auto(x), auto_id(x:id) -> int(id).
>lang:autoNumbered(`auto_id).
>cons_auto[] = x -> auto(x).
>lang:constructor(`cons_auto).'
added block 'block_1Z2ZWC0N'
lb wibble> exec '+auto(x), +cons_auto[] = x.'
lb wibble> popcount auto
1: auto
lb wibble> exec '+auto(x), +cons_auto[] = x.'
lb wibble> popcount auto
1: auto