-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
- This module has virtually no documentation: there is neither a high-level overview of the API, nor any haddocks for individual functions.
withModule
function is partial and will throw an errorPrelude.tail: empty list
whenmdir
isJust ""
. This must be dealt with one way or another.
unix/System/Posix/DynamicLinker/Module.hsc
Lines 96 to 106 in b085646
withModule :: Maybe String | |
-> String | |
-> [RTLDFlags] | |
-> (Module -> IO a) | |
-> IO a | |
withModule mdir file flags p = do | |
let modPath = case mdir of | |
Nothing -> file | |
Just dir -> dir ++ if ((head (reverse dir)) == '/') | |
then file | |
else ('/':file) |