From: Richard W.M. Jones Date: Mon, 13 Oct 2025 12:30:06 +0000 (+0100) Subject: stdlib: Add is-ignored predicate X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=HEAD;p=goals.git stdlib: Add is-ignored predicate --- diff --git a/stdlib/prelude.gl b/stdlib/prelude.gl index 32adf5c..a2d804d 100644 --- a/stdlib/prelude.gl +++ b/stdlib/prelude.gl @@ -37,6 +37,9 @@ predicate is-file-exists (filename) = @{ test -f %filename || exit 99 } +# Ignore parameter and always resolve to not rebuilding. +predicate is-ignored (s) = @{ exit 0 } + #---------------------------------------------------------------------- # Basic functions.