]> gitweb.factorcode.org Git - factor.git/commitdiff
core: Remove deprecated words in favor of fixups.
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 30 Dec 2021 19:02:17 +0000 (13:02 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 30 Dec 2021 19:06:46 +0000 (13:06 -0600)
core/io/files/files.factor
core/io/io.factor
core/ranges/ranges.factor

index 543622c1d13ded074f72ff24f9c6ff932e3f7bea..3190bc68841640932b6e90dd29db6091fa3fdbe7 100644 (file)
@@ -73,8 +73,6 @@ HOOK: (file-appender) io-backend ( path -- stream )
 : file-exists? ( path -- ? )
     normalize-path native-string>alien (file-exists?) ;
 
-ALIAS: exists? file-exists? deprecated
-
 ! Current directory
 <PRIVATE
 
index 82a5b84968eb771bf5641c85219a8e002750d3fe..9becbca5a6e4508c533eb81c80f015d33c1aa51e 100644 (file)
@@ -166,8 +166,6 @@ ERROR: invalid-read-buffer buf stream ;
 : read-lines ( -- seq )
     input-stream get stream-lines ; inline
 
-ALIAS: lines read-lines deprecated
-
 CONSTANT: each-block-size 65536
 
 : (each-stream-block-slice) ( ... stream quot: ( ... block-slice -- ... ) block-size -- ... )
@@ -214,8 +212,6 @@ CONSTANT: each-block-size 65536
 : read-contents ( -- seq )
     input-stream get stream-contents ; inline
 
-ALIAS: contents read-contents deprecated
-
 : stream-copy* ( in out -- )
     [ stream-write ] curry each-stream-block ; inline
 
index 0373abcfe4d0dca1fa04d3202c703c6df9b05942..25a3b21bd7f50e32ad76b57af0687bf09140b424 100644 (file)
@@ -59,13 +59,3 @@ PRIVATE>
 : [0..b) ( b -- range ) 0 swap [a..b) ; inline
 
 : [1..b) ( b -- range ) 1 swap [a..b) ; inline
-
-! backwards compatibility for new syntax
-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