Closed RAbraham closed 1 year ago
Hi, At 'https://scallop-lang.github.io/tutorial.html', I see two different syntax for rules first is :-:
:-
self.scl_ctx.add_rule("sum_2(a + b) :- digit_1(a), digit_2(b)")
and =:
=
ctx.add_rule("sum_2(a + b) = digit_1(a), digit_2(b)")
Are they semantically the same? Can they be used interchangeably?
The README says yes. Closing issue :)
Hi, At 'https://scallop-lang.github.io/tutorial.html', I see two different syntax for rules first is
:-
:and
=
:Are they semantically the same? Can they be used interchangeably?