<div dir="ltr">The bytestring builder API has a large number of entry points for encoding numbers:<div><br></div><font face="courier new, monospace">      int8Dec<br>    , int16Dec<br>    , int32Dec<br>    , int64Dec<br>    , intDec<br>
    , integerDec<br><br>    , word8Dec<br>    , word16Dec<br>    , word32Dec<br>    , word64Dec<br>    , wordDec</font><div><br><div style>Contrast this with the text library:</div><div style><br></div><div style><div><font face="courier new, monospace">    decimal :: Integral a =&gt; a -&gt; Builder</font></div>
<div><br></div><div style>I want to deprecate the 11 <font face="courier new, monospace">*Dec</font> functions in favour of the same single-entry-point API used by text: it&#39;s way simpler, and no less efficient.</div><div style>
<br></div><div style>(Really, the <font face="courier new, monospace">*Hex</font> functions need the same treatment, but they&#39;re less of a priority to me.)</div></div></div></div>