[Xmonad] Re: Xmonad no longer compile since latest darcs pull

Xavier Maillard maillaxa at gmail.com
Thu Aug 16 01:52:37 EDT 2007


Andrea Rossato <mailing_list at ...> writes:

> if, as I suppose, you still have
> workspaces :: Int
> change it to
> workspaces :: [WorkspaceId]

It helped but I now have this :

[20 of 21] Compiling Config           ( Config.hs,
dist/build/xmonad/xmonad-tmp/Config.o )

    No instance for (Integral [WorkspaceId])
      arising from use of `fromIntegral' at Config.hs:171:30-52
    Possible fix:
      add an instance declaration for (Integral [WorkspaceId])
    In the first argument of `(-)', namely `fromIntegral workspaces'
    In the expression: (fromIntegral workspaces) - 1
    In the first argument of `zip', namely
        `[0 .. (fromIntegral workspaces) - 1]'

Thak your time and help, all.



P.S: I only use darcs version with latest patches pulled (always do this)

More information about the Xmonad mailing list