Skip to content

Commit

Permalink
Merge pull request #2367 from triska/dcg_meta_predicates
Browse files Browse the repository at this point in the history
ADDED: meta_predicate/1 declarations for (',')//2 and (;)//2
  • Loading branch information
mthom committed Mar 26, 2024
2 parents 40fc4f9 + 795a7c6 commit ea9e24f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/dcgs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@

:- meta_predicate phrase(2, ?, ?, ?, ?).

:- meta_predicate(','(2, 2, ?, ?)).

:- meta_predicate(;(2, 2, ?, ?)).

%% phrase(+Body, ?Ls).
%
% True iff Body describes the list Ls. Body must be a DCG body.
Expand Down

0 comments on commit ea9e24f

Please sign in to comment.