|
From: | Panicz Maciej Godek |
Subject: | Re: advice on how to use syntax transformers |
Date: | Fri, 6 Mar 2015 16:54:17 +0100 |
Hi,
I'm writing to ask for help in understanding syntax
transformers. Specifically, I'm trying to construct a function of the
following form
(define (key->value meta)
(match meta
(() '())
(((("name") value) rest ...)
value)
(((k value) rest ...)
(key->value (cdr meta)))
(_ "key Not fount")))
where I would like the ability to program the actual form of the ("name")
pattern with a second function argument.
[Prev in Thread] | Current Thread | [Next in Thread] |