Skip to content

Instantly share code, notes, and snippets.

@ktakashi
Created October 5, 2013 10:38
Show Gist options
  • Save ktakashi/6839336 to your computer and use it in GitHub Desktop.
Save ktakashi/6839336 to your computer and use it in GitHub Desktop.
Use keyword with R6RS mode
#!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