[m-dev.] deprecating {read,write}_binary etc

Julien Fischer jfischer at opturion.com
Sun Feb 9 18:19:15 AEDT 2020



On Fri, 7 Feb 2020, Zoltan Somogyi wrote:

>> Additionally, I propose that we also mark any predicates or functions
>> that manipulate bytes as the lower 8 bits of an int as obsolete; all
>> such predicates or function should now have uint8 replacements.
>
> I am fine with that, provided that the uint8-using replacements actually exist.

As, it turns out we don't have uint8 equivalents of binary_input_stream_foldl/5
and friends.  I think for now we we should just document our intention
that uint8 replace byte-as-the-bottom-8-bits-of-an-int and leave it at
that.

One other issue is that this change would affect a number of type class
instances and we do not currently have any equivalent to the obsolete
pragma for them.

Julien.


More information about the developers mailing list