Recommendation for the procedure to add platform packages

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Aug 20 09:12:44 EDT 2009


On Thu, 2009-08-20 at 08:56 +0100, Magnus Therning wrote:
> I found this
> 
>   "Compile on all operating systems and compilers that the platform targets."
> 
> to be a little confusing.  HP 2009.2.0.2 for Windows does include
> Win32 (providing System.Win32).  Of course there's not much point in
> including Win32 in HP for a Unix platform.  I assume the same is true
> for unix (providing System.Posix), but in the opposite direction, so
> to speak.  It would be a shame to not include these two
> _platform-specific_ packages in HP.

You're right that we somehow need to allow these exceptions but without
encouraging non-portable packages in general.

> OTOH, maybe I'm not using the word "compile" in the correct sense...
> Would a platform-specific package qualify if building it on _other_
> platforms resulted in a successful build, but with empty output?

I think "build and work" would be a better expression of the intention.

Duncan




More information about the Haskell-platform mailing list