<div dir="ltr">@list{A @'{string} escape}<div><br></div><div>?</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 27, 2014 at 8:21 AM, Alexander D. Knauth <span dir="ltr"><<a href="mailto:alexander@knauth.org" target="_blank">alexander@knauth.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Is there any way to make the at-exp reader turn @list{A @"string" escape} into (list "A " "string" " escape”),<div>instead of into (list “A string escape”) ?</div><div><br></div><div>The reason is that I wanted to make my own versions of format, printf, fprintf, error, etc. that would work with the at-exp reader and</div><div>convert something like this:</div><div><font face="Courier New">@my-error['f]{message</font></div><div><font face="Courier New"> given: ~v@"something"</font></div><div><font face="Courier New"> other-arguments: ~v@"something-else" ~v@"another-something-else"}</font></div><div>into something like this:</div><div><font face="Courier New">(error 'f "message\n given: ~v\n other-arguments: ~v ~v"</font></div><div><font face="Courier New"> "something" "something-else" "another-something-else")</font></div><div><br></div><div>It works the way I want it to if the “something”s etc. are anything other than a string literal, but is there any way to make it work for string literals?</div><div><br></div></div><br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div></div></div>