Skip to content

Instantly share code, notes, and snippets.

@suxiaogang
Last active August 29, 2015 13:58
Show Gist options
  • Save suxiaogang/10438148 to your computer and use it in GitHub Desktop.
Save suxiaogang/10438148 to your computer and use it in GitHub Desktop.
Yin-Yang Puzzle in Scheme
(let*
(
(yin
((lambda (cc) (display #\@) cc) (call-with-current-continuation (lambda (c) c))))
(yang
((lambda (cc) (display #\*) cc) (call-with-current-continuation (lambda (c) c))))
)
(yin yang))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment