
I guess that's a valid argument. I'll discuss this with Simon tomorrow. Janek Dnia poniedziaĆek, 26 sierpnia 2013, Simon Marlow napisaĆ:
On 26/08/13 10:38, Jan Stolarek wrote:
So since we have to break the API anyway, why not break it in the way that we want?
Oh, but the thing is we don't! We have a plan to rename GHC.Prim to GHC.Prim.BuiltIn, rename GHC.PrimWrappers (in ghc-prim) to GHC.Prim and make it re-export GHC.Prim.BuiltIn [1]. This way change will be completely backwards compatible. I was working on that on Friday. Patches are essentially finished, but I still have to solve haddock panic that I somehow introduced [2].
I'm sorry, but I just don't like this solution. We could do this every time we change an API, but imagine what a mess we'd be in by now! It's just not the right way to manage API changes.
Cheers, Simon