Skip to content

Commit

Permalink
feat(logic): add source_files/1 predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Mar 21, 2023
1 parent a543e4a commit b89718c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/logic/interpreter/bootstrap/bootstrap.pl
Original file line number Diff line number Diff line change
Expand Up @@ -253,3 +253,5 @@
maplist(Cont_7, [E1|E1s], [E2|E2s], [E3|E3s], [E4|E4s], [E5|E5s], [E6|E6s], [E7|E7s]) :-
call(Cont_7, E1, E2, E3, E4, E5, E6, E7),
maplist(Cont_7, E1s, E2s, E3s, E4s, E5s, E6s, E7s).

source_files(Files) :- bagof(File, source_file(File), Files).

0 comments on commit b89718c

Please sign in to comment.