System.Win32.Types to base library?

Bulat Ziganshin bulat.ziganshin at
Tue Oct 23 06:27:08 EDT 2007

Hello Felix,

Tuesday, October 23, 2007, 1:24:08 AM, you wrote:

>> NO, because this will lead again to non-upgradability hell. other
>> libraries will need to import these types from different places
>> depending on GHC version where they are runned

> Ok, so how about a new module in base for Windows API error handling?
> E.g. a Foreign.C.Error.Win32 module which resembles Foreign.C.Error.

it will raise the same problem. imho, it's better to redefine as much
as possible in other libs, or just reexport `base` types/functions via
additional libs

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at

More information about the Libraries mailing list