<div dir="ltr"><div>Ok, will do.<br><br></div>An integer can potentially have any number of leading zeros, and I will have to check what escaping exists in the others.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 13, 2014 at 11:33 AM, GHC <span dir="ltr"><<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">#9628: Add Annotations to the AST to simplify source to source conversions<br>
-------------------------------------+-------------------------------------<br>
</span><span class=""> Reporter: alanz | Owner: alanz<br>
Type: feature | Status: new<br>
request | Milestone:<br>
Priority: normal | Version: 7.9<br>
Component: Compiler | Keywords:<br>
Resolution: | Architecture: Unknown/Multiple<br>
Operating System: | Difficulty: Unknown<br>
Unknown/Multiple | Blocked By:<br>
Type of failure: | Related Tickets:<br>
None/Unknown |<br>
</span> Test Case: |<br>
Blocking: |<br>
<span class="">Differential Revisions: D297 |<br>
-------------------------------------+-------------------------------------<br>
<br>
Comment (by simonpj):<br>
<br>
</span> I suggest doing so only if the two can differ. In the case of `String`<br>
there can be string gaps, thus<br>
{{{<br>
foo :: String<br>
foo = "blah blah\<br>
\more blah blah\<br>
\and more"<br>
}}}<br>
and I guess you want to have all that layout reproduced. Fine. But for<br>
integers like `3234242329423`, I don't see how the displayed form could<br>
differ.<br>
<br>
For `Words` perhaps there is binary/hex forms?<br>
<br>
Regardless, I'm not against this, but very keen that the reasons for<br>
keeping the two are documented on a per-literal basis, as I have begun to<br>
do above.<br>
<br>
--<br>
Ticket URL: <<a href="http://ghc.haskell.org/trac/ghc/ticket/9628#comment:29" target="_blank">http://ghc.haskell.org/trac/ghc/ticket/9628#comment:29</a>><br>
<div class="HOEnZb"><div class="h5">GHC <<a href="http://www.haskell.org/ghc/" target="_blank">http://www.haskell.org/ghc/</a>><br>
The Glasgow Haskell Compiler<br>
</div></div></blockquote></div><br></div>