<div dir="ltr">> <span style="font-size:12.8px">I'd just like to point out that the logic is sometimes inverted. Specifically when you're interfacing to certain types of hardware. </span><div dir="auto" style="font-size:12.8px"></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">How about introducing both /bool0 and /bool1</span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><br></div><div>Cheers,</div><div>-- </div><div>Pierre Fenoll</div></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On 22 January 2018 at 01:36, Kostis Sagonas <span dir="ltr"><<a href="mailto:kostis@cs.ntua.gr" target="_blank">kostis@cs.ntua.gr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/21/2018 03:14 AM, Viktor Söderqvist wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On 2018-01-20 15:58, Kostis Sagonas wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Suddenly adding some syntactic sugar which transforms 1s to trues and 0s<br>
to falses in binaries does not add any significant expressive power to<br>
the language; just confusion.<br>
</blockquote>
Isn't most of the binary syntax just syntactic sugar for conversions?<br>
</blockquote>
<br></span>
No, it's not just syntactic sugar.  The binary/bitstring data type is something that cannot be converted to some other Erlang term with the same (space-efficient) underlying representation.<span class="HOEnZb"><font color="#888888"><br>
<br>
Kostis</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://erlang.org/mailman/list<wbr>info/erlang-questions</a><br>
</div></div></blockquote></div><br></div>