diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-11 16:28:09 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-11 16:28:09 -0800 |
| commit | c5ea506accd9518e4e5a83d98533f7d138805ffd (patch) | |
| tree | 498364a07db4ff88408145fe65bacd958ae5c340 | |
| parent | 9d82d522c17493ad3016ca0678a951485067408f (diff) | |
Adding compat for deprecating math convenience functions.
| -rw-r--r-- | compatibility/4.11.nom | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/compatibility/4.11.nom b/compatibility/4.11.nom new file mode 100644 index 0000000..320fe5e --- /dev/null +++ b/compatibility/4.11.nom @@ -0,0 +1,50 @@ +#!/usr/bin/env nomsu -V4.11 +# + This file defines upgrades from Nomsu <4.11 to Nomsu 4.11 + (deleting (if all of ...), etc. shorthand) + +use "compatibility/compatibility.nom" + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +upgrade action [if all of %items %body, if all of %items then %body] to "4.11" as (..) + if (all of %items) %body + +upgrade action [unless all of %items %body, unless all of %items then %body] to \ +.."4.11" as (if (not (all of %items)) %body) + +upgrade action [if any of %items %body, if any of %items then %body] to "4.11" as (..) + if (any of %items) %body + +upgrade action [unless any of %items %body, unless any of %items then %body] to \ +.."4.11" as (if (not (any of %items)) %body) + +upgrade action [if none of %items %body, if none of %items then %body] to "4.11" \ +..as (if (not (any of %items)) %body) + +upgrade action [unless none of %items %body, unless none of %items then %body] to \ +.."4.11" as (if (any of %items) %body) + +upgrade action [..] + if all of %items %body else %else, if all of %items then %body else %else +..to "4.11" as (if (all of %items) %body else %else) + +upgrade action [..] + unless all of %items %body else %else, unless all of %items then %body else %else +..to "4.11" as (if (not (all of %items)) %body else %else) + +upgrade action [..] + if any of %items %body else %else, if any of %items then %body else %else +..to "4.11" as (if (any of %items) %body else %else) + +upgrade action [..] + unless any of %items %body else %else, unless any of %items then %body else %else +..to "4.11" as (if (not (any of %items)) %body else %else) + +upgrade action [..] + if none of %items %body else %else, if none of %items then %body else %else +..to "4.11" as (if (not (any of %items)) %body else %else) + +upgrade action [..] + unless none of %items %body else %else, unless none of %items then %body else %else +..to "4.11" as (if (any of %items) %body else %else) |
