1. This module has virtually no documentation: there is neither a high-level overview of the API, nor any haddocks for individual functions. 2. `withModule` function is partial and will throw an error `Prelude.tail: empty list` when `mdir` is `Just ""`. This must be dealt with one way or another. https://github.com/haskell/unix/blob/b0856460e7d5ef05ab2ed851498d9f4586fda29a/System/Posix/DynamicLinker/Module.hsc#L96-L106
withModulefunction is partial and will throw an errorPrelude.tail: empty listwhenmdirisJust "". This must be dealt with one way or another.unix/System/Posix/DynamicLinker/Module.hsc
Lines 96 to 106 in b085646