/usr/lib/s9fes/listq.scm is in scheme9 2010.11.13-2.
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 15 16 17 18 19 20 | ; Scheme 9 from Empty Space, Function Library
; By Nils M Holm, 2010
; See the LICENSE file of the S9fES package for terms of use
;
; (listq object ...) ==> list
;
; LISTQ is like LIST, but quotes each OBJECT passed to it.
; Rationale: (list a b c) evaluates a, b, and c
; '(a b c) makes the list immutable
; `(a b c) may be inefficient
; (list 'a 'b 'c) is awkward
;
; Example: (listq a (b c) d) ==> (a (b c) d)
(load-from-library "syntax-rules.scm")
(define-syntax listq
(syntax-rules ()
((_ x ...)
(list 'x ...))))
|