diff options
Diffstat (limited to 'core/math.nom')
| -rw-r--r-- | core/math.nom | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/core/math.nom b/core/math.nom index 583cc8c..aa1d200 100644 --- a/core/math.nom +++ b/core/math.nom @@ -143,43 +143,6 @@ externally [product of %items, product %items] all mean: externally [avg of %items, average of %items] all mean (..) (sum of %items) / (size of %items) -# Shorthand for control flow -[if all of %items %body, if all of %items then %body] all parse as (..) - if (all of %items) %body - -[unless all of %items %body, unless all of %items then %body] all parse as (..) - if (not (all of %items)) %body - -[if any of %items %body, if any of %items then %body] all parse as (..) - if (any of %items) %body - -[unless any of %items %body, unless any of %items then %body] all parse as (..) - if (not (any of %items)) %body - -[if none of %items %body, if none of %items then %body] all parse as (..) - if (not (any of %items)) %body - -[unless none of %items %body, unless none of %items then %body] all parse as (..) - if (any of %items) %body - -[if all of %items %body else %else, if all of %items then %body else %else] \ -..all parse as (if (all of %items) %body else %else) - -[unless all of %items %body else %else, unless all of %items then %body else %else] \ -..all parse as (if (not (all of %items)) %body else %else) - -[if any of %items %body else %else, if any of %items then %body else %else] \ -..all parse as (if (any of %items) %body else %else) - -[unless any of %items %body else %else, unless any of %items then %body else %else] \ -..all parse as (if (not (any of %items)) %body else %else) - -[if none of %items %body else %else, if none of %items then %body else %else] \ -..all parse as (if (not (any of %items)) %body else %else) - -[unless none of %items %body else %else, unless none of %items then %body else %else] \ -..all parse as (if (any of %items) %body else %else) - # Min/max externally [min of %items, smallest of %items, lowest of %items] all mean: %best = (nil) |
