bitSize both required and deprecated

Herbert Valerio Riedel hvriedel at
Fri Nov 1 15:18:39 UTC 2019

The default impl was added in the course of

with the intention of facilitating its eventual removal by providing a
smoother migration path over a 3-year compat-window.

What I can't explain is why the `MINIMAL` pragma wasn't adapted to take
into account that `bitSize` now has a default impl;

But then again, also states there was
no code review logged:

This revision was not accepted when it landed; it landed in state Needs
> Review.

... :-)

On Fri, Nov 1, 2019 at 12:08 PM chessai . <chessai1996 at> wrote:

> All,
> In Data.Bits.Bits, `bitSize` has been marked deprecated for a while.
> but in 4.12, it was also given a default implementation. The issue is
> that it is in the minimal pragma as a required method. So, if I define
> it, I get a deprecation warning, but if I don't define it, I get a
> warning about missing implementations.
> Is this the intended behaviour?
> Thanks
> _______________________________________________
> Libraries mailing list
> Libraries at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list