From 1440ac22e93936a246e519135f01aa89128126ab Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Tue, 18 Jul 2023 17:10:33 +0300 Subject: [PATCH] ; Only load 'library(macros)' if available --- sweep.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sweep.pl b/sweep.pl index 48c306b..515cc59 100644 --- a/sweep.pl +++ b/sweep.pl @@ -111,7 +111,10 @@ :- use_module(library(prolog_pack)). :- use_module(library(prolog_deps)). :- use_module(library(dcg/high_order)). + +:- if(exists_source(library(macros))). :- use_module(library(macros)). +:- endif. :- if(exists_source(library(help))). :- use_module(library(help)). -- 2.39.5