<div dir="ltr">You're right I forgot about binaries. [[ should we use guillemets for binaries? «"hello"» :-) That would even shorten the output a bit ]]<div><br></div><div>I'm a little worried about how the output in large logs.</div>
<div><br></div><div>@Björn-Egil: I don't use pretty printing of records, so I missed that connection. I would probably have reacted to that too.</div><div><br></div><div>Anyway, maybe it's not a big deal.</div><div>
<br></div><div>regards,</div><div>Vlad</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 2:58 PM, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Removing the spaces doesn't work at all. Example:<br>
<br>
#{<<"hello">>=><<"bye">>}<br>
<br>
Adding a space after the comma is OK but when pretty printing over lines of 80 characters it's going to make things a lot worse.<br>
<br>
The current solution sounds best to me. Just gotta get used to it.<div><div class="h5"><br>
<br>
On 02/03/2014 02:44 PM, Vlad Dumitrescu wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi!<br>
<br>
The default format for printing maps puts no space after the comma, but<br>
only around the =>. The result looks confusing to me.<br>
<br>
#{2 => 3,4 => 5}<br>
<br>
3 and 4 look more related than 2 and 3 or 4 and 5.<br>
<br>
Fixing this is a bit more job than adding a space, unless one wants to<br>
add them to lists and tuples too. Removing the spaces around the arrow<br>
doesn't look too nice either.<br>
<br>
I can write a patch, but what is the best solution?<br>
<br>
regards,<br>
Vlad<br>
<br>
<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Loïc Hoguin<br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
</font></span></blockquote></div><br></div>