Created
January 23, 2017 08:04
-
-
Save ktakashi/495b512902402379862e5ec8050cabdc to your computer and use it in GitHub Desktop.
Initialisation with dummy name
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)) | |
(define-syntax define-dummy | |
(syntax-rules () | |
((_ body ...) | |
(define dummy | |
(begin | |
body ... | |
#t))))) | |
(define-syntax define-dummy/name | |
(syntax-rules () | |
((_ name body ...) | |
(define name | |
(begin | |
body ... | |
#t))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment