[racket] heredoc syntax

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Thu Aug 18 16:53:05 EDT 2011

I would say the reader documentation is in an unfortunate place. I would prefer a section immediately under the 'racket reference' documentation.

1. Language Model
2. Reading

something like that. yes/no?

On 08/18/2011 02:49 PM, Jay McCarthy wrote:
> #<<END
> END
>
> http://docs.racket-lang.org/reference/reader.html?q=reader#(part._parse-string)
>
> Last paragraph
>
> Jay
>
> On Thu, Aug 18, 2011 at 2:43 PM, Jon Rafkind<rafkind at cs.utah.edu>  wrote:
>> Whats the syntax for heredoc strings?
>>
>> I was surprised that I couldn't find documentation for the lexical structure
>> of racket. I also grepped the source for 'heredoc' but didn't come up with
>> anything.
>>
>> I like python's heredoc syntax -- triple quotes. """a heredoc string""", if
>> such a thing could be added to racket (I will most likely do something like
>> this for honu).
>> _________________________________________________
>>   For list-related administrative tasks:
>>   http://lists.racket-lang.org/listinfo/users
>>
>
>



Posted on the users mailing list.