[racket] heredoc syntax

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Aug 18 17:34:04 EDT 2011

50 minutes ago, Jon Rafkind 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.

Don't use it, use the Scribble syntax instead.


> 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).

Don't use it, use the Scribble syntax instead.  Really.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the users mailing list.