ImpredicativeTypes is practically unsupported extension on it's way to be removed from GHC: https://mail.haskell.org/pipermail/ghc-devs/2016-September/012826.html GHC-8.0.2-rc1 already fails to build xmonad-contrib as: XMonad/Layout/Groups/Helpers.hs:181:22: error: • Couldn't match type ‘G.WithID l0 Window -> XMonad.Util.Stack.Zipper (G.Group l0 Window) -> XMonad.Util.Stack.Zipper (G.Group l0 Window)’ with ‘G.ModifySpec’ Expected type: (G.WithID l0 Window -> XMonad.Util.Stack.Zipper (G.Group l0 Window) -> XMonad.Util.Stack.Zipper (G.Group l0 Window)) -> G.GroupsMessage Actual type: G.ModifySpec -> G.GroupsMessage • In the second argument of ‘(.)’, namely ‘G.Modify’ In the expression: sendMessage . G.Modify In an equation for ‘wrap’: wrap = sendMessage . G.Modify The workaround is simple: add explicit types to applications or open-code direct application (this change). Bug: https://github.com/xmonad/xmonad-contrib/issues/123 Signed-off-by: Sergei Trofimovich <siarheit@google.com>
xmonad-contrib: Third Party Extensions to the xmonad Window Manager
You need the ghc compiler and xmonad window manager installed in order to use these extensions.
For installation and configuration instructions, please see the [xmonad website] xmonad, the documents included with the [xmonad source distribution] xmonad-git, and the [online haddock documentation] xmonad-docs.
Getting or Updating XMonadContrib
-
Latest release: https://hackage.haskell.org/package/xmonad-contrib
-
Git version: https://github.com/xmonad/xmonad-contrib
(To use git xmonad-contrib you must also use the [git version of xmonad] xmonad-git.)
Contributing
Haskell code contributed to this repo should live under the
appropriate subdivision of the XMonad
namespace (currently includes
Actions
, Config
, Hooks
, Layout
, Prompt
, and Util
). For
example, to use the Grid layout, one would import:
XMonad.Layout.Grid
For further details, see the [documentation] developing for the
XMonad.Doc.Developing
module and the [xmonad website] xmonad.
License
Code submitted to the contrib repo is licensed under the same license as xmonad itself, with copyright held by the authors.