title: Better way to reverse binary
body: <p>I'm trying to reverse binary like this:</p>
  
  <pre><code>reverse(Bin) -&gt;
      list_to_binary(lists:reverse([rev_bits(&lt;&lt;B&gt;&gt;) || B &lt;- binary:bin_to_list(Bin)])).
  
  
  rev_bits(&lt;&lt;A:1, B:1, C:1, D:1, E:1, F:1, G:1, H:1&gt;&gt;) -&gt;
      &lt;&lt;H:1, G:1, F:1, E:1, D:1, C:1, B:1, A:1&gt;&gt;.
  </code></pre>
  
  <p>I don't like this code.  Could you please advise better way to accomplish this routine?</p>