From b390b41f7401ccb06e57ec459bf996ebdc4bd0f8 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 23 Apr 2024 17:57:02 +0200 Subject: expressions: add logical negation While this can already be expressed by an "if" statement, having a dedicated function for logical negation makes some expressions more readable. --- doc/concepts/expressions.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/concepts/expressions.md') diff --git a/doc/concepts/expressions.md b/doc/concepts/expressions.md index b3dbd82f..d54bf34f 100644 --- a/doc/concepts/expressions.md +++ b/doc/concepts/expressions.md @@ -213,6 +213,10 @@ those) argument(s) to obtain the final result. ##### Unary functions + - `"not"` Return the logical negation of the argument, i.e., + if the argument is logically false, return `true`, and `false` + otherwise. + - `"nub_right"` The argument has to be a list. It is an error if that list contains (directly or indirectly) a name. The result is the input list, except that for all duplicate -- cgit v1.2.3