[r6rs-discuss] Use backquote in "case"

From: Aubrey Jaffer <agj>
Date: Wed Nov 15 19:51:49 2006

 | From: MichaelL_at_frogware.com
 | Date: Sun, 12 Nov 2006 16:11:03 -0500
 |
 | > In SCM (http://swiss.csail.mit.edu/~jaffer/SCM), the QASE syntax
 | > provides this and unquote-splicing as well.
 | ...
 | > I suspect that QASE can't be defined using just R5RS-macros (SCM does
 | > DEFMACRO). Is it possible using R6RS macros?
 |
 | Before I wrote the note I tested the idea by taking the definition of case
 | from R6RS and changing the quotes to backquotes. I've included the code
 | below. I presume that something similar would work in R5RS, but I haven't
 | tried.

Very clever! Implementing QASE in terms of CASE cause my difficulty.
Received on Wed Nov 15 2006 - 19:50:11 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC