Created
October 5, 2013 10:38
-
-
Save ktakashi/6839336 to your computer and use it in GitHub Desktop.
Use keyword with R6RS mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!r6rs | |
(import (rnrs)) | |
(begin | |
#!compatible | |
(call-with-input-file "test.scm" | |
(lambda (p) (print (get-bytevector-all p))) | |
:transcoder #f) | |
#!r6rs | |
(print (keyword? :key)) ;; error unbound variable | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment