]> gitweb.factorcode.org Git - factor.git/commitdiff
math.ranges: deprecate the aliases.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 27 Dec 2021 18:15:41 +0000 (10:15 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 27 Dec 2021 18:16:42 +0000 (10:16 -0800)
core/math/ranges/ranges.factor

index d4de49b29c90864b494e43debdd2afe83b5ffe6c..f834ea68344876b71754fe47574abbc1d102d79e 100644 (file)
@@ -61,11 +61,11 @@ PRIVATE>
 : [1..b) ( b -- range ) 1 swap [a..b) ; inline
 
 ! backwards compatibility for new syntax
-ALIAS: [a,b] [a..b]
-ALIAS: (a,b] (a..b]
-ALIAS: [a,b) [a..b)
-ALIAS: (a,b) (a..b)
-ALIAS: [0,b] [0..b]
-ALIAS: [1,b] [1..b]
-ALIAS: [0,b) [0..b)
-ALIAS: [1,b) [1..b)
+ALIAS: [a,b] [a..b] deprecated
+ALIAS: (a,b] (a..b] deprecated
+ALIAS: [a,b) [a..b) deprecated
+ALIAS: (a,b) (a..b) deprecated
+ALIAS: [0,b] [0..b] deprecated
+ALIAS: [1,b] [1..b] deprecated
+ALIAS: [0,b) [0..b) deprecated
+ALIAS: [1,b) [1..b) deprecated