]> git.eshelyaron.com Git - sweep.git/commitdiff
; Only load 'library(macros)' if available
authorEshel Yaron <me@eshelyaron.com>
Tue, 18 Jul 2023 14:10:33 +0000 (17:10 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 18 Jul 2023 14:10:33 +0000 (17:10 +0300)
sweep.pl

index 48c306b59754c521f70cab2b51d2ad5f175d1b5a..515cc59a08a72c8d328c88f0af31dd327c2f1513 100644 (file)
--- a/sweep.pl
+++ b/sweep.pl
 :- 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)).