summary refs log tree commit diff
path: root/mew.svnwiki
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-01-02 21:28:52 +0100
committerLeah Neukirchen <leah@vuxu.org>2023-01-02 21:28:52 +0100
commit31afd1f7be00fbd28ea1c66ad9411d4fdf722ea7 (patch)
tree84217bf7ccc5bd5a2cee398b2a1ee66feba811c4 /mew.svnwiki
parenta9897295de1c5b7da066aa2693e9dbfeff282fc2 (diff)
downloadmew-31afd1f7be00fbd28ea1c66ad9411d4fdf722ea7.tar.gz
mew-31afd1f7be00fbd28ea1c66ad9411d4fdf722ea7.tar.xz
mew-31afd1f7be00fbd28ea1c66ad9411d4fdf722ea7.zip
add generic sort, sort!
Diffstat (limited to 'mew.svnwiki')
-rw-r--r--mew.svnwiki14
1 files changed, 13 insertions, 1 deletions
diff --git a/mew.svnwiki b/mew.svnwiki
index ffb99cb..2ac6cfe 100644
--- a/mew.svnwiki
+++ b/mew.svnwiki
@@ -43,7 +43,6 @@ SRFI-158 (Generators and Accumulators),
 {{(chicken io)}},
 {{(chicken irregex)}},
 {{(chicken pretty-print)}}},
-{{(chicken sort)}}},
 {{matchable}},
 and {{err}} (see {{err.svnwiki}}).
 
@@ -381,6 +380,19 @@ otherwise.
 It is an error to compare uncomparable values.
 
 
+== Sorting
+
+<procedure>(sort <obj> [<less?>])</procedure>
+
+Sort the list/vector {{<obj>}} according to the relation {{less?}}
+(by default: {{<?}}).
+
+<procedure>(sort! <obj> [<less?>])</procedure>
+
+Sort the vector {{<obj>}} destructively according to the relation
+{{less?}} (by default: {{<?}}).
+
+
 == Data types
 
 <procedure>(get <obj> <idx>)</procedure>