Created
September 13, 2016 18:34
-
-
Save davama/81dca74fff51e1ceb5a492d070f6a16e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmonad.hs:405:21: error: | |
Variable not in scope: | |
docks | |
:: XConfig | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
SmartBorder | |
(PerWorkspace | |
(Choose | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
AvoidStruts | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
AddRoster XMonad.Layout.Grid.Grid)) | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
AvoidStruts | |
(Choose | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
XMonad.Layout.Renamed.Rename | |
(XMonad.Layout.LayoutModifier.ModifiedLayout Spacing G.Grid)) | |
(Choose | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
XMonad.Layout.Renamed.Rename | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
Gaps | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
Spacing G.SplitGrid))) | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
XMonad.Layout.Renamed.Rename | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
Gaps | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
Spacing G.SplitGrid))))))) | |
(Choose | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
AvoidStruts | |
(Choose | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
XMonad.Layout.Renamed.Rename | |
(XMonad.Layout.LayoutModifier.ModifiedLayout Spacing G.Grid)) | |
(Choose | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
XMonad.Layout.Renamed.Rename | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
Gaps | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
Spacing G.SplitGrid))) | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
XMonad.Layout.Renamed.Rename | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
Gaps | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
Spacing G.SplitGrid)))))) | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
XMonad.Layout.Renamed.Rename | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
WithBorder | |
(XMonad.Layout.LayoutModifier.ModifiedLayout | |
FullscreenFull Full)))))) | |
-> t | |
xmonad.hs:435:2: error: | |
• Ambiguous type variable ‘l0’ arising from a use of ‘xmonad’ | |
prevents the constraint ‘(Read (l0 Window))’ from being solved. | |
Probable fix: use a type annotation to specify what ‘l0’ should be. | |
These potential instances exist: | |
instance (Read a, Read b) => Read (Either a b) | |
-- Defined in ‘Data.Either’ | |
instance (Ord k, Read k, Read e) => Read (M.Map k e) | |
-- Defined in ‘containers-0.5.7.1:Data.Map.Base’ | |
instance (Read (l a), Read (r a)) => Read (Choose l r a) | |
-- Defined in ‘XMonad.Layout’ | |
...plus 40 others | |
...plus 30 instances involving out-of-scope types | |
(use -fprint-potential-instances to see them all) | |
• In a stmt of a 'do' block: | |
xmonad | |
$ withUrgencyHookC LibNotifyUrgencyHook myUrgencyConfig | |
$ withNavigation2DConfig defaultNavigation2DConfig | |
$ (defaults hostname) | |
{manageHook = composeAll | |
[manageSpawn, myManageHook, | |
namedScratchpadManageHook myScratchPads], | |
startupHook = composeAll | |
[myStartupHook, setWMName "Xmonad", myCaseHook hostname, ....], | |
logHook = composeAll | |
[myFadeHook, ewmhDesktopsLogHook, myDzenLogHook xmproc] | |
>> updatePointer (0.5, 0.5) (0, 0)} | |
In the expression: | |
do { hostname <- fmap nodeName getSystemID; | |
xmproc <- spawnPipe myDzenStatus; | |
xmonad | |
$ withUrgencyHookC LibNotifyUrgencyHook myUrgencyConfig | |
$ withNavigation2DConfig defaultNavigation2DConfig | |
$ (defaults hostname) | |
{manageHook = composeAll [manageSpawn, ....], | |
startupHook = composeAll [myStartupHook, ....], | |
logHook = composeAll [myFadeHook, ....] | |
>> updatePointer (0.5, 0.5) (0, 0)} } | |
In an equation for ‘main’: | |
main | |
= do { hostname <- fmap nodeName getSystemID; | |
xmproc <- spawnPipe myDzenStatus; | |
xmonad | |
$ withUrgencyHookC LibNotifyUrgencyHook myUrgencyConfig | |
$ withNavigation2DConfig defaultNavigation2DConfig | |
$ (defaults hostname) | |
{manageHook = composeAll [...], startupHook = composeAll [...], | |
logHook = composeAll [...] >> updatePointer (0.5, 0.5) (0, 0)} } | |
xmonad.hs:480:76: error: | |
Variable not in scope: docksStartupHook :: X () | |
Please check the file for errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment