6.10.3 plans

Simon Marlow marlowsd at gmail.com
Fri Apr 24 06:08:38 EDT 2009


2009/4/23 Duncan Coutts <duncan.coutts at worc.ox.ac.uk>:
> On Thu, 2009-04-23 at 05:59 -0700, Sigbjorn Finne wrote:
>> On 4/23/2009 02:05, Duncan Coutts wrote:
>> > On Wed, 2009-04-22 at 18:55 -0700, Sigbjorn Finne wrote:
>> >
>> >> Hi Ian,
>> >>
>> >> thanks for the update on plans and the willingness to jump in and do another
>> >> release cycle so soon after 6.10.2. The suggested fixes seem agreeable to
>> >> me, but I have one _minor_ additional request for 6.10.3 if you end having
>> >> to rebuild 'base' -- add a DEPRECATED (or some such) to
>> >> Foreign.ForeignPtr.{newForeignPtr,addForeignPtrFinalizer} to indicate
>> >> that the operational behaviour of these have changed.
>> >>
>> >> Small change, but could be helpful to package users&authors when migrating
>> >> beyond 6.10.1
>> >>
>> >
>> > I agree that it's a little unfortunate that this change is in a minor
>> > release.
>> >
>> > I'm not sure what can be done as far as automatic messages go however.
>> > The notice about the change is in the release notes. The functions are
>> > not deprecated (they're part of the FFI spec).
>> >
>> Sorry, didn't mean to imply that they were. Just offered it as a
>> pragmatic solution to deliver extra help to folks without spending the
>> dev. time to implement a more appropriate pragma like WARNING/INFO. If
>> such a thing already existed...
>
> For INFO we'd want a mechanism to have it tell us the first time but
> once we acknowledge the info, for it not to keep bugging us or our users
> every time. Hmm, tricky.

We do have a WARNING pragma, incedentally:

http://www.haskell.org/ghc/docs/latest/html/users_guide/pragmas.html#warning-deprecated-pragma

Cheers,
  Simon


More information about the Glasgow-haskell-users mailing list