
The default impl was added in the course of https://phabricator.haskell.org/D4857 https://ghc.haskell.org/trac/ghc/ticket/12970 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, https://phabricator.haskell.org/D4857 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 .
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries