[racket] specifying strings without escaping backslash

From: Laurent (laurent.orseau at gmail.com)
Date: Wed Dec 4 12:41:20 EST 2013

On Wed, Dec 4, 2013 at 1:21 PM, Greg Hendershott
<greghendershott at gmail.com>wrote:

> If you don't mind using `#lang at-exp racket`, I think you could write
>
>     @~a{C:\Users\Harry\SANSKRIT\GRETIL ALL\adyappu.htm}
>

Or better here: @values{C:\Users\Harry\SANSKRIT\GRETIL ALL\adyappu.htm} to
avoid the superfluous ~a operation.
Of course if used often, it can be abbreviated.

I've just surprised myself testing @(...){...} and seeing that it works:
@(lambda(x)x){C:\Users\Harry\SANSKRIT\GRETIL ALL\adyappu.htm}

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131204/89916614/attachment.html>

Posted on the users mailing list.