]> gitweb.factorcode.org Git - factor.git/commitdiff
sorting: add an alias for temporary backwards compatibility
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 9 Feb 2023 17:46:39 +0000 (09:46 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 9 Feb 2023 17:46:39 +0000 (09:46 -0800)
core/sorting/sorting.factor

index a9a9dd1255af5581914d0de1d814ad2ff845240a..446a2a0969223fe5a66e5146114a6289b4b7f5af 100644 (file)
@@ -148,6 +148,8 @@ PRIVATE>
 : inv-sort-by ( seq quot: ( elt -- key ) -- sortedseq )
     [ compare invert-comparison ] curry sort-with ; inline
 
+ALIAS: natural-sort sort ! temporary, deprecated
+
 <PRIVATE
 
 : check-bounds ( alist n -- alist )