Rename GET-SUPPORTED-FEATURES to FEATURES for R7RS.
authorChris Hanson <org/chris-hanson/cph>
Mon, 14 May 2018 00:15:59 +0000 (17:15 -0700)
committerChris Hanson <org/chris-hanson/cph>
Mon, 14 May 2018 00:15:59 +0000 (17:15 -0700)
Also add some more R7RS comments to runtime.pkg.

src/runtime/mit-macros.scm
src/runtime/runtime.pkg

index 7924179a71a4f74da9ec54907b8999fd36c43edc..603a96d3c09c4ed844455b86909613bb7b90102c 100644 (file)
@@ -600,7 +600,7 @@ USA.
 (define-feature 'i386 (machine? "IA-32"))
 (define-feature 'x86-64 (machine? "x86-64"))
 
-(define (get-supported-features)
+(define (features)
   (filter-map (lambda (p)
                (and ((cdr p))
                     (car p)))
index 164176b066b06c7ecbf7bb94e2e42ebdee1a1892..7322d00ff990de14ac6103177d8d2f57af3e5374 100644 (file)
@@ -4772,7 +4772,7 @@ USA.
          (receive $receive)
          (unless $unless)
          (when $when)
-         get-supported-features))
+         features))
 
 (define-package (runtime syntax syntax-rules)
   (files "syntax-rules")