Here-docs in Haskell source
John Goerzen
jgoerzen at complete.org
Fri Sep 22 22:39:39 EDT 2006
On Fri, Sep 22, 2006 at 09:30:50PM -0400, Ian Zimmerman wrote:
>
> John> Why not just go the Python way and use """ ? That is, three
> John> literal quotes at the beginning and end. After all, Python has
> John> lifted quite a few things from Haskell. Time to return the
> John> favor. ;-)
>
> Because it will confuse language-agnostic tools.
I don't understand -- what language-agnostic tools would this confuse
more than any other syntax?
> Do you use Emacs? How does it handle the Python syntax? I am not a
> Python programmer, so I can't answer that myself. But I'll hazard a
> guess: badly.
python-mode actually handles Python syntax a lot better than
haskell-mode handles Haskell syntax, particularly regarding indentation.
-- John
More information about the Haskell-prime
mailing list