Issue 240 in xmonad: recompilation fails silently

Updates: Status: Accepted Owner: vogt.adam Labels: Component-Core Usability Comment #2 on issue 240 by vogt.adam: recompilation fails silently http://code.google.com/p/xmonad/issues/detail?id=240 The attached code uses haskell-src-exts to grab the module name and throws a warning when it isn't main (no module name is implicitly main). It might be better to use the ghc-api for the parsing (since haskell-src-exts rejects more programs than ghc does) This adds a pretty serious dependency, so as-is this code cannot go into core. A better way might be to check after the compilation that there is actually a generated binary. This issue is somewhat related to the suggestion for keeping ghc's temp files out of ~/.xmonad/ Attachments: getModName.hs 583 bytes -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
participants (1)
-
codesite-noreply@google.com