__NHC__ ifdefs in the core libraries

David Terei dave.terei at gmail.com
Mon Feb 11 23:09:23 CET 2013


+100!

On 11 February 2013 13:01, Ian Lynagh <ian at well-typed.com> wrote:
>
> Hi all,
>
> There are a couple of hundred ifdefs for __NHC__ in the core libraries,
> but as far as I know nhc/yhc never switched over to the git repositories
> for these libraries, and in any case I believe they are now considered
> unmaintained projects.
>
> Even if someone decides to resurrect them, it looks like most of the
> ifdefs represent bugs that ought to be fixed (for example, Word being a
> type synonym, [] needing to be im/exported, and an instance export bug).
>
> Meanwhile, they make life harder for people working on the libraries:
> When making a change, one feels that one ought to also update the NHC
> alternative where appropriate, even though it has probably bitrotted
> already, and despite not being able to test it.
>
>
> So I propose that we remove all the __NHC__ ifdefs (and also base/NHC/)
> in the core libraries. What do you think?
>
>
> Thanks
> Ian
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries



More information about the Libraries mailing list