Open G3Kappa opened 1 week ago
Some directives need to be repeated for each of their arguments, when they could take a list of arguments instead.
e.g.
:- inline(pred_a). :- inline(pred_b).
should be
:- inline(pred_a, pred_b)
or
:- inline([pred_a, pred_b])
TODO: Make a list of directives that need to be changed and analyze it
Additionally, directives are basically just complex terms right now, but in ISO Prolog they do away with the parentheses:
:- inline pred_a, pred_b.
would be the ideal form
Some directives need to be repeated for each of their arguments, when they could take a list of arguments instead.
e.g.
should be
or
TODO: Make a list of directives that need to be changed and analyze it