[xmonad] Issue 240 in xmonad: recompilation fails silently
codesite-noreply at google.com
codesite-noreply at google.com
Wed Oct 28 09:41:59 EDT 2009
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
More information about the xmonad
mailing list