<div dir="ltr"><div><div><div><div>Herbert,<br><br></div>Yes, you are right. It was my experience when compiling base with haskell-names' hs-gen-iface that, unless __GLASGOW_HASKELL__ is defined, many functions (including H2010) would simply not be defined, and some code wouldn't even be well-formed Haskell.<br>
<br></div>First I tried to fix that on the spot, but there were so many cases that I gave up and made hs-gen-iface define __GLASGOW_HASKELL__ despite not being one.<br><br></div>I'm not sure these ifdefs nowadays have any value whatsoever.<br>
<br></div>Roman<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 15, 2013 at 1:09 PM, Herbert Valerio Riedel <span dir="ltr"><<a href="mailto:hvr@gnu.org" target="_blank">hvr@gnu.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
On 2013-09-15 at 09:06:13 +0200, Austin Seipp wrote:<br>
> I'm voting we delete it. In fact: I say if nobody pipes up and is<br>
> *committed* to maintaining it, we delete it, oh, two weeks. That's<br>
> standard library-proposal timeframe. (And I do mean maintenance - not<br>
> "drop barely enough work to get it into shape and then leave it alone<br>
> for 5+ more years.")<br>
<br>
</div>Fyi, I've gone ahead and started preparing validate-checked removal<br>
commits for two of the affected packages:<br>
<br>
- <a href="https://github.com/hvr/packages-base/compare/kill-hugs-support" target="_blank">https://github.com/hvr/packages-base/compare/kill-hugs-support</a><br>
<br>
- <a href="https://github.com/hvr/packages-array/compare/kill-hugs-support" target="_blank">https://github.com/hvr/packages-array/compare/kill-hugs-support</a><br>
<br>
...while going through the #ifdef's and playing human CPP I couldn't<br>
help but wonder whether the `#if(n)def __GLASGOW_HASKELL__` are worth<br>
it: Some places didn't look as if they would compile if<br>
`__GLASGOW_HASKELL__` wasn't defined.<br>
<br>
Cheers,<br>
hvr<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/ghc-devs" target="_blank">http://www.haskell.org/mailman/listinfo/ghc-devs</a><br>
</div></div></blockquote></div><br></div></div></div>