[Xmonad] Error compiling Commands.hs

Kai Grossjohann kai at emptydomain.de
Mon Jul 16 11:02:52 EDT 2007


A couple of minutes ago, I ran "darcs pull" for the main xmonad repo and
for the contrib repo.  Then I did "Setup.lhs clean", followed by
"Setup.lhs configure ...", followed by "Setup.lhs build".

The build fails with this error:

| [11 of 13] Compiling XMonadContrib.Commands ( XMonadContrib/Commands.hs,
| dist/build/xmonad/xmonad-tmp/XMonadContrib/Commands.o )
| 
| XMonadContrib/Commands.hs:69:73:
|     Couldn't match expected type `Maybe WorkspaceId'
| 	   against inferred type `WorkspaceId'
|       Expected type: Maybe WorkspaceId -> X ()
|       Inferred type: WorkspaceId -> X ()
|     In the second argument of `(>>=)', namely `f'
|     In the expression: (screenWorkspace (fromIntegral sc)) >>= f
| make: *** [build] Error 1

Is it just me?

Kai



More information about the Xmonad mailing list