Currently many of Win32's modules have no export list, meaning that they often unintentionally export what were supposed to be internal functions (e.g. FFI imports). For instance, see System.Win32.Event, which exports c_WaitForSingleObject and many others. This ends up breaking haskeline.
As a rule in a library like this all modules should have an export list.
Currently many of
Win32
's modules have no export list, meaning that they often unintentionally export what were supposed to be internal functions (e.g. FFI imports). For instance, seeSystem.Win32.Event
, which exportsc_WaitForSingleObject
and many others. This ends up breakinghaskeline
.As a rule in a library like this all modules should have an export list.