Re: [racket-dev] Enhancement to the syntax system?
From:
Stefan Israelsson Tampe
Subject:
Re: [racket-dev] Enhancement to the syntax system?
Date:
Tue, 10 Jul 2012 19:47:14 +0200
The question I posed was If it's possible to use srfi-72 in guile or racket. It is indeed a wish of mine that it's implemented because it will most certainly help me write beutiful code because that srfi cater to the coding style Ichoose to have. Without it one most certainly need to use with-syntax to introduce the bindings in order to be safe and avoid a multiple of possible syntactic loopholes as can see if you read André van Tonder's
Anyway one does not need to change psyntax in order to come close to that system. A more hacky way is to use code like the one at the end of this document. It's a reiteration and improvement on a
previous version. So with this hack I can write,
This shows that it was just luck previously when racket produced the correct (for my intention) answer. with srfi-72 a correct answer would have been produced. Without srfi-72 I will then move over to use
##` and #. in my code because it will be easy to transfer later on if when srfi-72 is available in some form.