From d4c0ad8fa1d033eb92e38a2cd9554bf5d1c1bd45 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 23 Feb 2016 11:29:23 +0100 Subject: Prolog engine: allow lists predicates in sandbox --- prolog/runner/daemon.pl | 2 ++ prolog/runner/main.pl | 2 ++ 2 files changed, 4 insertions(+) (limited to 'prolog') diff --git a/prolog/runner/daemon.pl b/prolog/runner/daemon.pl index 0be3d9e..c482282 100755 --- a/prolog/runner/daemon.pl +++ b/prolog/runner/daemon.pl @@ -27,6 +27,8 @@ along with this program. If not, see . */ :- use_module(library(clpfd)). :- use_module(library(clpr)). +:- use_module(library(lists)). + :- consult(sandbox). :- multifile prolog:error_message/3. diff --git a/prolog/runner/main.pl b/prolog/runner/main.pl index 2aa7f5c..3c324c8 100755 --- a/prolog/runner/main.pl +++ b/prolog/runner/main.pl @@ -26,6 +26,8 @@ along with this program. If not, see . */ :- use_module(library(clpfd)). :- use_module(library(clpr)). +:- use_module(library(lists)). + :- consult(sandbox). :- multifile prolog:error_message/3. -- cgit v1.2.1