/usr/lib/sort.scm is in scheme9 2013.11.26-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ; Scheme 9 from Empty Space, Function Library
; By Nils M Holm, 2010
; Placed in the Public Domain
;
; (sort procedure^2 list) ==> list
;
; Sort lists. PROCEDURE^2 is a binary predicate that describes the
; desired order. The original list is not changed.
;
; Example: (sort <= '(5 3 7 9 1)) ==> (1 3 5 7 9)
(load-from-library "mergesort.scm")
(define sort mergesort)
|