klop.scm 230 B

12345678910111213
  1. (use-modules (trs examples))
  2. (use-modules (srfi srfi-64))
  3. (define c
  4. '($ ($ (s)
  5. ($ ($ (b) (b)) (s)))
  6. ($ (k) (k))))
  7. (test-begin "klop")
  8. (test-equal (klop `($ ($ ($ ,c x) y) z))
  9. '($ ($ x z) y))
  10. (test-end "klop")