Here-docs in Haskell source

John Goerzen jgoerzen at complete.org
Fri Sep 22 13:45:47 EDT 2006


On Fri, Sep 22, 2006 at 12:39:34PM -0400, Ian Zimmerman wrote:
> If you do this at all, reuse the regular quotes, don't invent yet
> another weird and wonderful lexical syntax.  Haskell is already bad
> enough that way, with \ used for lambda and so on.  @" would be okay I
> guess.

Why not just go the Python way and use """ ?

That is, three literal quotes at the beginning and end.

After all, Python has lifted quite a few things from Haskell.  Time to
return the favor. ;-)


More information about the Haskell-prime mailing list