make *.pl files in src/prolog/lib available from libraries.rs

This commit is contained in:
Mark Thom
2019-09-26 23:10:04 -06:00
parent 2c1c1b7d12
commit 9a83ccbdbc
19 changed files with 130 additions and 57 deletions

View File

@@ -2,8 +2,8 @@
:- module(dcgs, [phrase/2, phrase/3]).
:- use_module('src/prolog/lib/lists.pl', [append/3]).
:- use_module('src/prolog/lib/terms.pl').
:- use_module(library(lists), [append/3]).
:- use_module(library(terms)).
phrase(G, G) :-
nonvar(G), G = [_|_], !.