On 2016-02-29 17:24:26 +0800, simmone wrote:
> When I use at-exp to build my test data, I found it’ll eat prefix space, it’s 
> a bug?

This behavior is intentional, but if you really need to preserve the spacing
you can use @|| to explicitly tell the @-exp reader to keep spaces.

(see very bottom of http://docs.racket-lang.org/scribble/reader.html)

e.g., for your example:

(define expected @S{
@||  @||
@||  @||
@||  s@||
@||  @||
})

Cheers,
Asumu

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to