From: Eshel Yaron Date: Tue, 18 Jul 2023 14:10:33 +0000 (+0300) Subject: ; Only load 'library(macros)' if available X-Git-Tag: V9.1.11-sweep-0.22.0~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1440ac22e93936a246e519135f01aa89128126ab;p=sweep.git ; Only load 'library(macros)' if available --- 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)).