Welcome to the CHICKEN Scheme pasting service
yin/yang puzzle added by sjamaan on Fri Apr 15 23:39:24 2016
;; The yin/yang puzzle by David Madore, creator of the Unlambda programming language ;; The goal is to figure out what it does without running the program. ;; Failing that, if you run the program, try and explain how it works. (let* ((yin ((lambda (foo) (newline) foo) (call/cc (lambda (bar) bar)))) (yang ((lambda (foo) (write-char #\*) foo) (call/cc (lambda (bar) bar))))) (yin yang))