On Fri, Jan 8, 2016 at 2:26 AM, Adam Sjøgren <asjo@koldfront.dk> wrote:
Jakob writes:
> On 07.01.2016 12:44, Brandon Allbery wrote:
>> Actually... I updated to 0.12 and at the same time switched from ghc
>> 7.6.3 to 7.10.3, and found the same thing. I had to move the "args
>> <-
>> io getArgs" directly into "main" before invocation of the "xmonad"
>> function.

> That works! Thank you. Yeah it sounds like a GHC bug for me. I also
> have xmonad 0.12 and GHC 7.10.3.

I run xmonad 0.11.1 and ghc 7.10.3 (both on Debian sid), and it works
for me (to have "as <- io getArgs" in my startupHook).

Turns out it is a code change.
https://github.com/xmonad/xmonad/commit/307b82a53d519f5c86c009eb1a54044a616e4a5c

This isn't even mentioned in breaking changes at https://wiki.haskell.org/Xmonad/Notable_changes_since_0.11
There's also documentation in various places that would need to be updated.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net