<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<title>HLint report</title>
<script type='text/javascript'>

/* == Algorithm for show/unshow ==
   Each hint/file is given a number, hint# or file#
   When we say showOnly with a class name we add the rules to
   the css #content div {display:none}, #content div.className {display:block}
   When going back to showAll we remove these results
*/

// CSS MANIPULATION //

function deleteRule()
{
        var css = document.styleSheets[0];
        css.deleteRule(css.cssRules.length-1);
}

function insertRule(s)
{
        var css = document.styleSheets[0];
        css.insertRule(s, css.cssRules.length);
}

// SHOW/HIDE LOGIC //

var last = "";

function show(id)
{
        if (id == last) return;

        for (var i = (last == "" ? 1 : 3); i > 0; i--)
                deleteRule();

        if (id == "")
                insertRule(".all {font-weight: bold;}");
        else
        {
                insertRule("#content div {display:none}");
                insertRule("#content div." + id + " {display:block}");
                insertRule("#" + id + "{font-weight:bold}");
        }
        last = id;
}

</script>
<style type="text/css">
/* See http://www.webreference.com/programming/css_frames/ */
body {
        margin:0;
        border:0;
        padding:0;
        height:100%;
        max-height:100%;
        font-family: sans-serif;
        font-size:76%;
        overflow: hidden;
}

#leftbar {
        position:absolute;
        top:0px;
        left:0px;
        width: 215px;
        bottom: 0px;
        overflow:auto;
        background:rgb(202,223,255);
        margin: 10px;
        padding-top: 0;
        padding-left: 7px;
        padding-right: 7px;
        -moz-border-radius: 5px;

        display:none; /* Override if script present */
}

#content {
        position:absolute;
        top:0;
        bottom:0;
        right:0;
        overflow:auto;
        padding-bottom: 15px;
        padding-right: 7px;

        left:10px; /* Override if script present */
}

#leftbar ul {margin-top: 0px; padding-left: 15px;}
#leftbar p {margin-bottom: 0px;}

pre {
        font-family: "lucida console", monospace;
        padding-left: 15px;
        margin: 2px;
}

#content div {
        margin-bottom: 10px;
        margin-right: 10px;
        padding-top: 4px;
        border-top: 1px solid #ccc;
}

.script #content {left:250px;}
.script #leftbar {display: block;}

/* From HsColour */
.keyglyph, .layout {color: red;}
.keyword {color: blue;}
.comment, .comment a {color: green;}
.str, .chr {color: teal;}

/* MUST BE THE LAST RULE SINCE MANIPULATED BY SCRIPT */
.all {font-weight: bold;}
</style>
</head>
<body>

<script type='text/javascript'>
document.body.className = "script";
</script>

<div id="leftbar" valign="top" style="min-width:200px">

<p><a class="all" href="javascript:show('')">All hints</a></p>
<ul>
<li><a id="hint0" href="javascript:show('hint0')">Error: Redundant $ (31)</a></li>
<li><a id="hint1" href="javascript:show('hint1')">Error: Redundant do (12)</a></li>
<li><a id="hint2" href="javascript:show('hint2')">Error: Redundant if (1)</a></li>
<li><a id="hint3" href="javascript:show('hint3')">Error: Use concatMap (3)</a></li>
<li><a id="hint4" href="javascript:show('hint4')">Error: Use fromMaybe (24)</a></li>
<li><a id="hint5" href="javascript:show('hint5')">Error: Use mapM (1)</a></li>
<li><a id="hint6" href="javascript:show('hint6')">Error: Use mapM_ (1)</a></li>
<li><a id="hint7" href="javascript:show('hint7')">Error: Use unwords (1)</a></li>
<li><a id="hint8" href="javascript:show('hint8')">Error: Use when (4)</a></li>
<li><a id="hint9" href="javascript:show('hint9')">Error: Use zipWith (1)</a></li>
<li><a id="hint10" href="javascript:show('hint10')">Warning: Eta reduce (68)</a></li>
<li><a id="hint11" href="javascript:show('hint11')">Warning: Redundant brackets (63)</a></li>
<li><a id="hint12" href="javascript:show('hint12')">Warning: Redundant lambda (1)</a></li>
<li><a id="hint13" href="javascript:show('hint13')">Warning: Use : (5)</a></li>
<li><a id="hint14" href="javascript:show('hint14')">Warning: Use &gt;&gt;= (1)</a></li>
<li><a id="hint15" href="javascript:show('hint15')">Warning: Use String (6)</a></li>
<li><a id="hint16" href="javascript:show('hint16')">Warning: Use camelCase (10)</a></li>
<li><a id="hint17" href="javascript:show('hint17')">Warning: Use guards (1)</a></li>
<li><a id="hint18" href="javascript:show('hint18')">Warning: Use liftM (8)</a></li>
<li><a id="hint19" href="javascript:show('hint19')">Warning: Use second (1)</a></li>
<li><a id="hint20" href="javascript:show('hint20')">Warning: Use string literal (2)</a></li>
</ul>

<p><a class="all" href="javascript:show('')">All files</a></p>
<ul>
<li><a id="file0" href="javascript:show('file0')">./XMonad/Actions/Commands.hs (6)</a></li>
<li><a id="file1" href="javascript:show('file1')">./XMonad/Actions/CopyWindow.hs (1)</a></li>
<li><a id="file2" href="javascript:show('file2')">./XMonad/Actions/CycleWS.hs (3)</a></li>
<li><a id="file3" href="javascript:show('file3')">./XMonad/Actions/CycleWindows.hs (1)</a></li>
<li><a id="file4" href="javascript:show('file4')">./XMonad/Actions/FlexibleManipulate.hs (3)</a></li>
<li><a id="file5" href="javascript:show('file5')">./XMonad/Actions/FocusNth.hs (2)</a></li>
<li><a id="file6" href="javascript:show('file6')">./XMonad/Actions/MouseResize.hs (2)</a></li>
<li><a id="file7" href="javascript:show('file7')">./XMonad/Actions/Plane.hs (2)</a></li>
<li><a id="file8" href="javascript:show('file8')">./XMonad/Actions/RotSlaves.hs (7)</a></li>
<li><a id="file9" href="javascript:show('file9')">./XMonad/Actions/Search.hs (5)</a></li>
<li><a id="file10" href="javascript:show('file10')">./XMonad/Actions/SpawnOn.hs (3)</a></li>
<li><a id="file11" href="javascript:show('file11')">./XMonad/Actions/Submap.hs (2)</a></li>
<li><a id="file12" href="javascript:show('file12')">./XMonad/Actions/TagWindows.hs (13)</a></li>
<li><a id="file13" href="javascript:show('file13')">./XMonad/Actions/UpdatePointer.hs (1)</a></li>
<li><a id="file14" href="javascript:show('file14')">./XMonad/Actions/WindowBringer.hs (2)</a></li>
<li><a id="file15" href="javascript:show('file15')">./XMonad/Actions/WindowNavigation.hs (4)</a></li>
<li><a id="file16" href="javascript:show('file16')">./XMonad/Config/Azerty.hs (1)</a></li>
<li><a id="file17" href="javascript:show('file17')">./XMonad/Config/Desktop.hs (2)</a></li>
<li><a id="file18" href="javascript:show('file18')">./XMonad/Config/Kde.hs (2)</a></li>
<li><a id="file19" href="javascript:show('file19')">./XMonad/Config/Monad.hs (1)</a></li>
<li><a id="file20" href="javascript:show('file20')">./XMonad/Config/Sjanssen.hs (2)</a></li>
<li><a id="file21" href="javascript:show('file21')">./XMonad/Config/Xfce.hs (1)</a></li>
<li><a id="file22" href="javascript:show('file22')">./XMonad/Hooks/DynamicHooks.hs (3)</a></li>
<li><a id="file23" href="javascript:show('file23')">./XMonad/Hooks/DynamicLog.hs (4)</a></li>
<li><a id="file24" href="javascript:show('file24')">./XMonad/Hooks/EwmhDesktops.hs (6)</a></li>
<li><a id="file25" href="javascript:show('file25')">./XMonad/Hooks/FadeInactive.hs (2)</a></li>
<li><a id="file26" href="javascript:show('file26')">./XMonad/Hooks/ManageDocks.hs (2)</a></li>
<li><a id="file27" href="javascript:show('file27')">./XMonad/Hooks/ManageHelpers.hs (2)</a></li>
<li><a id="file28" href="javascript:show('file28')">./XMonad/Hooks/ServerMode.hs (1)</a></li>
<li><a id="file29" href="javascript:show('file29')">./XMonad/Hooks/SetWMName.hs (1)</a></li>
<li><a id="file30" href="javascript:show('file30')">./XMonad/Hooks/UrgencyHook.hs (5)</a></li>
<li><a id="file31" href="javascript:show('file31')">./XMonad/Hooks/XPropManage.hs (1)</a></li>
<li><a id="file32" href="javascript:show('file32')">./XMonad/Layout/BoringWindows.hs (1)</a></li>
<li><a id="file33" href="javascript:show('file33')">./XMonad/Layout/Combo.hs (15)</a></li>
<li><a id="file34" href="javascript:show('file34')">./XMonad/Layout/Decoration.hs (8)</a></li>
<li><a id="file35" href="javascript:show('file35')">./XMonad/Layout/FixedColumn.hs (2)</a></li>
<li><a id="file36" href="javascript:show('file36')">./XMonad/Layout/Gaps.hs (2)</a></li>
<li><a id="file37" href="javascript:show('file37')">./XMonad/Layout/HintedGrid.hs (1)</a></li>
<li><a id="file38" href="javascript:show('file38')">./XMonad/Layout/HintedTile.hs (5)</a></li>
<li><a id="file39" href="javascript:show('file39')">./XMonad/Layout/IM.hs (2)</a></li>
<li><a id="file40" href="javascript:show('file40')">./XMonad/Layout/LayoutCombinators.hs (3)</a></li>
<li><a id="file41" href="javascript:show('file41')">./XMonad/Layout/LayoutHints.hs (1)</a></li>
<li><a id="file42" href="javascript:show('file42')">./XMonad/Layout/LayoutModifier.hs (6)</a></li>
<li><a id="file43" href="javascript:show('file43')">./XMonad/Layout/LayoutScreens.hs (1)</a></li>
<li><a id="file44" href="javascript:show('file44')">./XMonad/Layout/Magnifier.hs (10)</a></li>
<li><a id="file45" href="javascript:show('file45')">./XMonad/Layout/MosaicAlt.hs (2)</a></li>
<li><a id="file46" href="javascript:show('file46')">./XMonad/Layout/MultiToggle.hs (2)</a></li>
<li><a id="file47" href="javascript:show('file47')">./XMonad/Layout/Named.hs (1)</a></li>
<li><a id="file48" href="javascript:show('file48')">./XMonad/Layout/PerWorkspace.hs (3)</a></li>
<li><a id="file49" href="javascript:show('file49')">./XMonad/Layout/ResizeScreen.hs (6)</a></li>
<li><a id="file50" href="javascript:show('file50')">./XMonad/Layout/Roledex.hs (7)</a></li>
<li><a id="file51" href="javascript:show('file51')">./XMonad/Layout/ShowWName.hs (2)</a></li>
<li><a id="file52" href="javascript:show('file52')">./XMonad/Layout/SimplestFloat.hs (3)</a></li>
<li><a id="file53" href="javascript:show('file53')">./XMonad/Layout/Spiral.hs (4)</a></li>
<li><a id="file54" href="javascript:show('file54')">./XMonad/Layout/TabBarDecoration.hs (1)</a></li>
<li><a id="file55" href="javascript:show('file55')">./XMonad/Layout/ToggleLayouts.hs (4)</a></li>
<li><a id="file56" href="javascript:show('file56')">./XMonad/Layout/WorkspaceDir.hs (1)</a></li>
<li><a id="file57" href="javascript:show('file57')">./XMonad/Prompt.hs (13)</a></li>
<li><a id="file58" href="javascript:show('file58')">./XMonad/Prompt/AppendFile.hs (1)</a></li>
<li><a id="file59" href="javascript:show('file59')">./XMonad/Prompt/Directory.hs (1)</a></li>
<li><a id="file60" href="javascript:show('file60')">./XMonad/Prompt/RunOrRaise.hs (4)</a></li>
<li><a id="file61" href="javascript:show('file61')">./XMonad/Prompt/Shell.hs (1)</a></li>
<li><a id="file62" href="javascript:show('file62')">./XMonad/Prompt/Ssh.hs (1)</a></li>
<li><a id="file63" href="javascript:show('file63')">./XMonad/Prompt/Window.hs (4)</a></li>
<li><a id="file64" href="javascript:show('file64')">./XMonad/Util/CustomKeys.hs (2)</a></li>
<li><a id="file65" href="javascript:show('file65')">./XMonad/Util/Dmenu.hs (3)</a></li>
<li><a id="file66" href="javascript:show('file66')">./XMonad/Util/Dzen.hs (3)</a></li>
<li><a id="file67" href="javascript:show('file67')">./XMonad/Util/EZConfig.hs (4)</a></li>
<li><a id="file68" href="javascript:show('file68')">./XMonad/Util/Scratchpad.hs (1)</a></li>
<li><a id="file69" href="javascript:show('file69')">./XMonad/Util/XSelection.hs (4)</a></li>
<li><a id="file70" href="javascript:show('file70')">./tests/test_SwapWorkspaces.hs (4)</a></li>
<li><a id="file71" href="javascript:show('file71')">./tests/test_XPrompt.hs (13)</a></li>
</ul>

</div>
<div id="content" valign="top" width="100%">
<p>
        Report generated by <a href="http://community.haskell.org/~ndm/hlint/">HLint</a>
v1.2
        - a tool to suggest improvements to your Haskell code.
</p>

<div class="hint16 file70">
./tests/test_SwapWorkspaces.hs:12:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='definition'>prop_double_swap</span> <span class='layout'>(</span><span class='varid'>ss</span> <span class='keyglyph'>::</span> <span class='conid'>T</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>t1</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span>
  <span class='layout'>(</span><span class='varid'>t2</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
Why not<br/>
<pre><span class='definition'>propDoubleSwap</span> <span class='layout'>(</span><span class='varid'>ss</span> <span class='keyglyph'>::</span> <span class='conid'>T</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>t1</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span>
  <span class='layout'>(</span><span class='varid'>t2</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
</div>

<div class="hint16 file70">
./tests/test_SwapWorkspaces.hs:18:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='definition'>prop_invalid_swap</span> <span class='layout'>(</span><span class='varid'>ss</span> <span class='keyglyph'>::</span> <span class='conid'>T</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>t1</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span>
  <span class='layout'>(</span><span class='varid'>t2</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
Why not<br/>
<pre><span class='definition'>propInvalidSwap</span> <span class='layout'>(</span><span class='varid'>ss</span> <span class='keyglyph'>::</span> <span class='conid'>T</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>t1</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span>
  <span class='layout'>(</span><span class='varid'>t2</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
</div>

<div class="hint16 file70">
./tests/test_SwapWorkspaces.hs:34:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='definition'>prop_swap_only_two</span> <span class='layout'>(</span><span class='varid'>ss</span> <span class='keyglyph'>::</span> <span class='conid'>T</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>t1</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span>
  <span class='layout'>(</span><span class='varid'>t2</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
Why not<br/>
<pre><span class='definition'>propSwapOnlyTwo</span> <span class='layout'>(</span><span class='varid'>ss</span> <span class='keyglyph'>::</span> <span class='conid'>T</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>t1</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span>
  <span class='layout'>(</span><span class='varid'>t2</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
</div>

<div class="hint16 file70">
./tests/test_SwapWorkspaces.hs:40:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='definition'>prop_swap_with_current</span> <span class='layout'>(</span><span class='varid'>ss</span> <span class='keyglyph'>::</span> <span class='conid'>T</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>t</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
Why not<br/>
<pre><span class='definition'>propSwapWithCurrent</span> <span class='layout'>(</span><span class='varid'>ss</span> <span class='keyglyph'>::</span> <span class='conid'>T</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>t</span> <span class='keyglyph'>::</span> <span class='conid'>NonNegative</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
</div>

<div class="hint10 file71">
./tests/test_XPrompt.hs:21:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>doubleCheck</span> <span class='varid'>p</span> <span class='keyglyph'>=</span> <span class='varid'>check</span> <span class='layout'>(</span><span class='varid'>defaultConfig</span><span class='layout'>{</span><span class='varid'>configMaxTest</span> <span class='keyglyph'>=</span> <span class='num'>1000</span><span class='layout'>}</span><span class='layout'>)</span> <span class='varid'>p</span></pre>
Why not<br/>
<pre><span class='definition'>doubleCheck</span> <span class='keyglyph'>=</span> <span class='varid'>check</span> <span class='layout'>(</span><span class='varid'>defaultConfig</span><span class='layout'>{</span><span class='varid'>configMaxTest</span> <span class='keyglyph'>=</span> <span class='num'>1000</span><span class='layout'>}</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file71">
./tests/test_XPrompt.hs:22:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>deepCheck</span> <span class='varid'>p</span> <span class='keyglyph'>=</span> <span class='varid'>check</span> <span class='layout'>(</span><span class='varid'>defaultConfig</span><span class='layout'>{</span><span class='varid'>configMaxTest</span> <span class='keyglyph'>=</span> <span class='num'>10000</span><span class='layout'>}</span><span class='layout'>)</span> <span class='varid'>p</span></pre>
Why not<br/>
<pre><span class='definition'>deepCheck</span> <span class='keyglyph'>=</span> <span class='varid'>check</span> <span class='layout'>(</span><span class='varid'>defaultConfig</span><span class='layout'>{</span><span class='varid'>configMaxTest</span> <span class='keyglyph'>=</span> <span class='num'>10000</span><span class='layout'>}</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file71">
./tests/test_XPrompt.hs:23:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>deepestCheck</span> <span class='varid'>p</span> <span class='keyglyph'>=</span> <span class='varid'>check</span> <span class='layout'>(</span><span class='varid'>defaultConfig</span><span class='layout'>{</span><span class='varid'>configMaxTest</span> <span class='keyglyph'>=</span> <span class='num'>100000</span><span class='layout'>}</span><span class='layout'>)</span> <span class='varid'>p</span></pre>
Why not<br/>
<pre><span class='definition'>deepestCheck</span> <span class='keyglyph'>=</span> <span class='varid'>check</span> <span class='layout'>(</span><span class='varid'>defaultConfig</span><span class='layout'>{</span><span class='varid'>configMaxTest</span> <span class='keyglyph'>=</span> <span class='num'>100000</span><span class='layout'>}</span><span class='layout'>)</span></pre>
</div>

<div class="hint15 file71">
./tests/test_XPrompt.hs:26:1: Warning: Use String<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>String</span></pre>
</div>

<div class="hint16 file71">
./tests/test_XPrompt.hs:26:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='definition'>prop_split</span> <span class='layout'>(</span><span class='varid'>str</span> <span class='keyglyph'>::</span> <span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
Why not<br/>
<pre><span class='definition'>propSplit</span> <span class='layout'>(</span><span class='varid'>str</span> <span class='keyglyph'>::</span> <span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
</div>

<div class="hint15 file71">
./tests/test_XPrompt.hs:31:1: Warning: Use String<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>String</span></pre>
</div>

<div class="hint16 file71">
./tests/test_XPrompt.hs:31:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='definition'>prop_spliInSubListsAt</span> <span class='layout'>(</span><span class='varid'>x</span> <span class='keyglyph'>::</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>str</span> <span class='keyglyph'>::</span> <span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
Why not<br/>
<pre><span class='definition'>propSpliInSubListsAt</span> <span class='layout'>(</span><span class='varid'>x</span> <span class='keyglyph'>::</span> <span class='conid'>Int</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>str</span> <span class='keyglyph'>::</span> <span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
</div>

<div class="hint15 file71">
./tests/test_XPrompt.hs:40:1: Warning: Use String<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>String</span></pre>
</div>

<div class="hint16 file71">
./tests/test_XPrompt.hs:40:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='definition'>prop_skipGetLastWord</span> <span class='layout'>(</span><span class='varid'>str</span> <span class='keyglyph'>::</span> <span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
Why not<br/>
<pre><span class='definition'>propSkipGetLastWord</span> <span class='layout'>(</span><span class='varid'>str</span> <span class='keyglyph'>::</span> <span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span><span class='layout'>)</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
</div>

<div class="hint15 file71">
./tests/test_XPrompt.hs:45:1: Warning: Use String<br/>
Found<br/>
<pre><span class='conid'>Gen</span> <span class='keyglyph'>[</span><span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>Gen</span> <span class='keyglyph'>[</span><span class='conid'>String</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint16 file71">
./tests/test_XPrompt.hs:56:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='definition'>prop_newIndex_range</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
Why not<br/>
<pre><span class='definition'>propNewIndexRange</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
</div>

<div class="hint16 file71">
./tests/test_XPrompt.hs:61:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='definition'>prop_newCommandIndex</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
Why not<br/>
<pre><span class='definition'>propNewCommandIndex</span> <span class='keyglyph'>=</span> <span class='varop'>...</span></pre>
</div>

<div class="hint11 file71">
./tests/test_XPrompt.hs:62:23: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>l</span> <span class='varop'>!!</span> <span class='layout'>(</span><span class='varid'>newIndex</span> <span class='varid'>c</span> <span class='varid'>l</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>l</span> <span class='varop'>!!</span> <span class='varid'>newIndex</span> <span class='varid'>c</span> <span class='varid'>l</span></pre>
</div>

<div class="hint10 file57">
./XMonad/Prompt.hs:159:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>nextCompletion</span> <span class='varid'>t</span> <span class='varid'>c</span> <span class='varid'>l</span> <span class='keyglyph'>=</span> <span class='varid'>getNextOfLastWord</span> <span class='varid'>t</span> <span class='varid'>c</span> <span class='varid'>l</span></pre>
Why not<br/>
<pre><span class='definition'>nextCompletion</span> <span class='keyglyph'>=</span> <span class='varid'>getNextOfLastWord</span></pre>
</div>

<div class="hint10 file57">
./XMonad/Prompt.hs:164:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>commandToComplete</span> <span class='keyword'>_</span> <span class='varid'>c</span> <span class='keyglyph'>=</span> <span class='varid'>getLastWord</span> <span class='varid'>c</span></pre>
Why not<br/>
<pre><span class='definition'>commandToComplete</span> <span class='keyword'>_</span> <span class='keyglyph'>=</span> <span class='varid'>getLastWord</span></pre>
</div>

<div class="hint0 file57">
./XMonad/Prompt.hs:242:8: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>liftIO</span> <span class='varop'>$</span> <span class='varid'>readHistory</span></pre>
Why not<br/>
<pre><span class='definition'>liftIO</span> <span class='varid'>readHistory</span></pre>
</div>

<div class="hint8 file57">
./XMonad/Prompt.hs:308:5: Error: Use when<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='varid'>length</span> <span class='varid'>c</span> <span class='varop'>&gt;</span> <span class='num'>1</span> <span class='keyword'>then</span> <span class='varid'>modify</span> <span class='varop'>$</span> <span class='keyglyph'>\</span> <span class='varid'>s</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>s</span><span class='layout'>{</span><span class='varid'>showComplWin</span> <span class='keyglyph'>=</span> <span class='conid'>True</span><span class='layout'>}</span> <span class='keyword'>else</span>
  <span class='varid'>return</span> <span class='conid'>()</span></pre>
Why not<br/>
<pre><span class='definition'>when</span> <span class='layout'>(</span><span class='varid'>length</span> <span class='varid'>c</span> <span class='varop'>&gt;</span> <span class='num'>1</span><span class='layout'>)</span> <span class='varop'>$</span> <span class='varid'>modify</span> <span class='varop'>$</span> <span class='keyglyph'>\</span> <span class='varid'>s</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>s</span><span class='layout'>{</span><span class='varid'>showComplWin</span> <span class='keyglyph'>=</span> <span class='conid'>True</span><span class='layout'>}</span></pre>
</div>

<div class="hint1 file57">
./XMonad/Prompt.hs:446:1: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>modify</span> <span class='varop'>$</span> <span class='keyglyph'>\</span> <span class='varid'>s</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>setCommand</span> <span class='str'>""</span> <span class='varop'>$</span> <span class='varid'>s</span><span class='layout'>{</span><span class='varid'>offset</span> <span class='keyglyph'>=</span> <span class='num'>0</span><span class='layout'>}</span></pre>
Why not<br/>
<pre><span class='definition'>modify</span> <span class='varop'>$</span> <span class='keyglyph'>\</span> <span class='varid'>s</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>setCommand</span> <span class='str'>""</span> <span class='varop'>$</span> <span class='varid'>s</span><span class='layout'>{</span><span class='varid'>offset</span> <span class='keyglyph'>=</span> <span class='num'>0</span><span class='layout'>}</span></pre>
</div>

<div class="hint0 file57">
./XMonad/Prompt.hs:460:1: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>liftM</span> <span class='varid'>insertString</span> <span class='varop'>$</span> <span class='varid'>getSelection</span></pre>
Why not<br/>
<pre><span class='definition'>liftM</span> <span class='varid'>insertString</span> <span class='varid'>getSelection</span></pre>
</div>

<div class="hint11 file57">
./XMonad/Prompt.hs:491:18: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>o</span> <span class='comment'>-</span> <span class='layout'>(</span><span class='varid'>ln</span> <span class='varid'>reverse</span> <span class='varid'>f</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>o</span> <span class='comment'>-</span> <span class='varid'>ln</span> <span class='varid'>reverse</span> <span class='varid'>f</span></pre>
</div>

<div class="hint11 file57">
./XMonad/Prompt.hs:492:18: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>o</span> <span class='varop'>+</span> <span class='layout'>(</span><span class='varid'>ln</span> <span class='varid'>id</span> <span class='varid'>ss</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>o</span> <span class='varop'>+</span> <span class='varid'>ln</span> <span class='varid'>id</span> <span class='varid'>ss</span></pre>
</div>

<div class="hint11 file57">
./XMonad/Prompt.hs:577:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>completionFunction</span> <span class='varid'>s</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>commandToComplete</span> <span class='layout'>(</span><span class='varid'>xptype</span> <span class='varid'>s</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>command</span> <span class='varid'>s</span><span class='layout'>)</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>completionFunction</span> <span class='varid'>s</span> <span class='layout'>(</span><span class='varid'>commandToComplete</span> <span class='layout'>(</span><span class='varid'>xptype</span> <span class='varid'>s</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>command</span> <span class='varid'>s</span><span class='layout'>)</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file57">
./XMonad/Prompt.hs:619:7: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>wh</span> <span class='varop'>`div`</span> <span class='layout'>(</span><span class='varid'>fi</span> <span class='varid'>max_compl_len</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>wh</span> <span class='varop'>`div`</span> <span class='varid'>fi</span> <span class='varid'>max_compl_len</span></pre>
</div>

<div class="hint11 file57">
./XMonad/Prompt.hs:621:7: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>length</span> <span class='varid'>compl</span><span class='layout'>)</span> <span class='varop'>`divMod`</span> <span class='varid'>fi</span> <span class='varid'>columns</span></pre>
Why not<br/>
<pre><span class='definition'>length</span> <span class='varid'>compl</span> <span class='varop'>`divMod`</span> <span class='varid'>fi</span> <span class='varid'>columns</span></pre>
</div>

<div class="hint11 file57">
./XMonad/Prompt.hs:653:7: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>length</span> <span class='varid'>xx</span><span class='layout'>)</span> <span class='varop'>*</span> <span class='layout'>(</span><span class='varid'>length</span> <span class='varid'>yy</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>length</span> <span class='varid'>xx</span> <span class='varop'>*</span> <span class='varid'>length</span> <span class='varid'>yy</span></pre>
</div>

<div class="hint11 file57">
./XMonad/Prompt.hs:659:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>compl</span> <span class='varop'>/=</span> <span class='conid'>[]</span> <span class='varop'>&amp;&amp;</span> <span class='varid'>showComplWin</span> <span class='varid'>st</span><span class='layout'>)</span> <span class='keyword'>then</span>
  <span class='keyword'>case</span> <span class='varid'>complWin</span> <span class='varid'>st</span> <span class='keyword'>of</span>
      <span class='conid'>Just</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='keyword'>case</span> <span class='varid'>complWinDim</span> <span class='varid'>st</span> <span class='keyword'>of</span>
                    <span class='conid'>Just</span> <span class='varid'>wi</span> <span class='keyglyph'>-&gt;</span> <span class='keyword'>if</span> <span class='varid'>nwi</span> <span class='varop'>==</span> <span class='varid'>wi</span> <span class='keyword'>then</span> <span class='varid'>drawComplWin</span> <span class='varid'>w</span> <span class='varid'>compl</span> <span class='keyword'>else</span> <span class='varid'>recreate</span>
                    <span class='conid'>Nothing</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>recreate</span>
      <span class='conid'>Nothing</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>recreate</span>
  <span class='keyword'>else</span> <span class='varid'>destroyComplWin</span></pre>
Why not<br/>
<pre><span class='keyword'>if</span> <span class='varid'>compl</span> <span class='varop'>/=</span> <span class='conid'>[]</span> <span class='varop'>&amp;&amp;</span> <span class='varid'>showComplWin</span> <span class='varid'>st</span> <span class='keyword'>then</span>
  <span class='keyword'>case</span> <span class='varid'>complWin</span> <span class='varid'>st</span> <span class='keyword'>of</span>
      <span class='conid'>Just</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='keyword'>case</span> <span class='varid'>complWinDim</span> <span class='varid'>st</span> <span class='keyword'>of</span>
                    <span class='conid'>Just</span> <span class='varid'>wi</span> <span class='keyglyph'>-&gt;</span> <span class='keyword'>if</span> <span class='varid'>nwi</span> <span class='varop'>==</span> <span class='varid'>wi</span> <span class='keyword'>then</span> <span class='varid'>drawComplWin</span> <span class='varid'>w</span> <span class='varid'>compl</span> <span class='keyword'>else</span> <span class='varid'>recreate</span>
                    <span class='conid'>Nothing</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>recreate</span>
      <span class='conid'>Nothing</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>recreate</span>
  <span class='keyword'>else</span> <span class='varid'>destroyComplWin</span></pre>
</div>

<div class="hint10 file66">
./XMonad/Util/Dzen.hs:30:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>dzen</span> <span class='varid'>str</span> <span class='varid'>timeout</span> <span class='keyglyph'>=</span> <span class='varid'>dzenWithArgs</span> <span class='varid'>str</span> <span class='conid'>[]</span> <span class='varid'>timeout</span></pre>
Why not<br/>
<pre><span class='definition'>dzen</span> <span class='varid'>str</span> <span class='keyglyph'>=</span> <span class='varid'>dzenWithArgs</span> <span class='varid'>str</span> <span class='conid'>[]</span></pre>
</div>

<div class="hint20 file66">
./XMonad/Util/Dzen.hs:40:9: Warning: Use string literal<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='chr'>'\n'</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='str'>"\n"</span></pre>
</div>

<div class="hint11 file66">
./XMonad/Util/Dzen.hs:48:58: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varid'>n</span><span class='layout'>)</span> <span class='varop'>+</span> <span class='num'>1</span></pre>
Why not<br/>
<pre><span class='definition'>fromIntegral</span> <span class='varid'>n</span> <span class='varop'>+</span> <span class='num'>1</span></pre>
</div>

<div class="hint18 file64">
./XMonad/Util/CustomKeys.hs:83:1: Warning: Use liftM<br/>
Found<br/>
<pre><span class='definition'>asks</span> <span class='varid'>dels</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>return</span> <span class='varop'>.</span> <span class='varid'>foldr</span> <span class='conid'>M</span><span class='varop'>.</span><span class='varid'>delete</span> <span class='varid'>kmap</span></pre>
Why not<br/>
<pre><span class='definition'>liftM</span> <span class='layout'>(</span><span class='varid'>foldr</span> <span class='conid'>M</span><span class='varop'>.</span><span class='varid'>delete</span> <span class='varid'>kmap</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>asks</span> <span class='varid'>dels</span><span class='layout'>)</span></pre>
</div>

<div class="hint18 file64">
./XMonad/Util/CustomKeys.hs:87:1: Warning: Use liftM<br/>
Found<br/>
<pre><span class='definition'>asks</span> <span class='varid'>ins</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>return</span> <span class='varop'>.</span> <span class='varid'>foldr</span> <span class='layout'>(</span><span class='varid'>uncurry</span> <span class='conid'>M</span><span class='varop'>.</span><span class='varid'>insert</span><span class='layout'>)</span> <span class='varid'>kmap</span></pre>
Why not<br/>
<pre><span class='definition'>liftM</span> <span class='layout'>(</span><span class='varid'>foldr</span> <span class='layout'>(</span><span class='varid'>uncurry</span> <span class='conid'>M</span><span class='varop'>.</span><span class='varid'>insert</span><span class='layout'>)</span> <span class='varid'>kmap</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>asks</span> <span class='varid'>ins</span><span class='layout'>)</span></pre>
</div>

<div class="hint12 file67">
./XMonad/Util/EZConfig.hs:365:14: Warning: Redundant lambda<br/>
Found<br/>
<pre><span class='definition'>on</span> <span class='varid'>op</span> <span class='varid'>f</span> <span class='keyglyph'>=</span> <span class='keyglyph'>\</span> <span class='varid'>x</span> <span class='varid'>y</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>f</span> <span class='varid'>x</span> <span class='varop'>`op`</span> <span class='varid'>f</span> <span class='varid'>y</span></pre>
Why not<br/>
<pre><span class='definition'>on</span> <span class='varid'>op</span> <span class='varid'>f</span> <span class='varid'>x</span> <span class='varid'>y</span> <span class='keyglyph'>=</span> <span class='varid'>f</span> <span class='varid'>x</span> <span class='varop'>`op`</span> <span class='varid'>f</span> <span class='varid'>y</span></pre>
</div>

<div class="hint11 file67">
./XMonad/Util/EZConfig.hs:397:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>mod1Mask</span> <span class='varop'>+</span> <span class='layout'>(</span><span class='varid'>read</span> <span class='keyglyph'>[</span><span class='varid'>n</span><span class='keyglyph'>]</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>mod1Mask</span> <span class='varop'>+</span> <span class='varid'>read</span> <span class='keyglyph'>[</span><span class='varid'>n</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint13 file67">
./XMonad/Util/EZConfig.hs:431:1: Warning: Use :<br/>
Found<br/>
<pre><span class='str'>"F"</span> <span class='varop'>++</span> <span class='varid'>show</span> <span class='varid'>n</span></pre>
Why not<br/>
<pre><span class='chr'>'F'</span> <span class='conop'>:</span> <span class='varid'>show</span> <span class='varid'>n</span></pre>
</div>

<div class="hint7 file67">
./XMonad/Util/EZConfig.hs:693:9: Error: Use unwords<br/>
Found<br/>
<pre><span class='definition'>concat</span> <span class='varop'>.</span> <span class='varid'>intersperse</span> <span class='str'>" "</span> <span class='varop'>.</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varop'>++</span> <span class='str'>"\""</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='layout'>(</span><span class='str'>"\""</span> <span class='varop'>++</span><span class='layout'>)</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>unwords</span> <span class='varop'>.</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varop'>++</span> <span class='str'>"\""</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='layout'>(</span><span class='str'>"\""</span> <span class='varop'>++</span><span class='layout'>)</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file65">
./XMonad/Util/Dmenu.hs:43:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>dmenu</span> <span class='varid'>opts</span> <span class='keyglyph'>=</span> <span class='varid'>menu</span> <span class='str'>"dmenu"</span> <span class='varid'>opts</span></pre>
Why not<br/>
<pre><span class='definition'>dmenu</span> <span class='keyglyph'>=</span> <span class='varid'>menu</span> <span class='str'>"dmenu"</span></pre>
</div>

<div class="hint10 file65">
./XMonad/Util/Dmenu.hs:46:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>menu</span> <span class='varid'>menuCmd</span> <span class='varid'>opts</span>
  <span class='keyglyph'>=</span> <span class='varid'>io</span> <span class='varop'>$</span> <span class='varid'>runProcessWithInput</span> <span class='varid'>menuCmd</span> <span class='conid'>[]</span> <span class='layout'>(</span><span class='varid'>unlines</span> <span class='varid'>opts</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>menu</span> <span class='varid'>menuCmd</span> <span class='keyglyph'>=</span> <span class='varid'>io</span> <span class='varop'>.</span> <span class='varid'>runProcessWithInput</span> <span class='varid'>menuCmd</span> <span class='conid'>[]</span> <span class='varop'>.</span> <span class='varid'>unlines</span></pre>
</div>

<div class="hint10 file65">
./XMonad/Util/Dmenu.hs:56:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>dmenuMap</span> <span class='varid'>selectionMap</span> <span class='keyglyph'>=</span> <span class='varid'>menuMap</span> <span class='str'>"dmenu"</span> <span class='varid'>selectionMap</span></pre>
Why not<br/>
<pre><span class='definition'>dmenuMap</span> <span class='keyglyph'>=</span> <span class='varid'>menuMap</span> <span class='str'>"dmenu"</span></pre>
</div>

<div class="hint8 file68">
./XMonad/Util/Scratchpad.hs:108:5: Error: Use when<br/>
Found<br/>
<pre><span class='keyword'>if</span>
  <span class='varid'>null</span>
    <span class='layout'>(</span><span class='varid'>filter</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varop'>==</span> <span class='varid'>scratchpadWorkspaceTag</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>tag</span><span class='layout'>)</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>workspaces</span> <span class='varid'>s</span><span class='layout'>)</span><span class='layout'>)</span>
  <span class='keyword'>then</span> <span class='varid'>addHiddenWorkspace</span> <span class='varid'>scratchpadWorkspaceTag</span> <span class='keyword'>else</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
Why not<br/>
<pre><span class='definition'>when</span>
  <span class='layout'>(</span><span class='varid'>null</span>
     <span class='layout'>(</span><span class='varid'>filter</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varop'>==</span> <span class='varid'>scratchpadWorkspaceTag</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>tag</span><span class='layout'>)</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>workspaces</span> <span class='varid'>s</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>)</span>
  <span class='varop'>$</span> <span class='varid'>addHiddenWorkspace</span> <span class='varid'>scratchpadWorkspaceTag</span></pre>
</div>

<div class="hint15 file69">
./XMonad/Util/XSelection.hs:49:1: Warning: Use String<br/>
Found<br/>
<pre><span class='conid'>Int</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>Word8</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>Int</span> <span class='keyglyph'>-&gt;</span> <span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>Int</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>Word8</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>Int</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>String</span></pre>
</div>

<div class="hint15 file69">
./XMonad/Util/XSelection.hs:128:1: Warning: Use String<br/>
Found<br/>
<pre><span class='conid'>Display</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>Atom</span> <span class='keyglyph'>-&gt;</span> <span class='keyglyph'>[</span><span class='conid'>Char</span><span class='keyglyph'>]</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>XEventPtr</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>IO</span> <span class='conid'>()</span></pre>
Why not<br/>
<pre><span class='conid'>Display</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>Atom</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>String</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>XEventPtr</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>IO</span> <span class='conid'>()</span></pre>
</div>

<div class="hint1 file69">
./XMonad/Util/XSelection.hs:128:1: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>forkIO</span>
     <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>allocaXEvent</span> <span class='varop'>$</span> <span class='varid'>processEvent</span> <span class='varid'>dpy</span> <span class='varid'>ty</span> <span class='varid'>text</span><span class='layout'>)</span> <span class='varop'>&gt;&gt;</span>
        <span class='varid'>destroyWindow</span> <span class='varid'>dpy</span> <span class='varid'>win</span><span class='layout'>)</span>
     <span class='varop'>&gt;&gt;</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
Why not<br/>
<pre><span class='definition'>forkIO</span>
  <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>allocaXEvent</span> <span class='varop'>$</span> <span class='varid'>processEvent</span> <span class='varid'>dpy</span> <span class='varid'>ty</span> <span class='varid'>text</span><span class='layout'>)</span> <span class='varop'>&gt;&gt;</span>
     <span class='varid'>destroyWindow</span> <span class='varid'>dpy</span> <span class='varid'>win</span><span class='layout'>)</span>
  <span class='varop'>&gt;&gt;</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
</div>

<div class="hint1 file69">
./XMonad/Util/XSelection.hs:128:1: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>putStrLn</span> <span class='str'>"Unable to obtain ownership of the selection"</span> <span class='varop'>&gt;&gt;</span>
     <span class='varid'>destroyWindow</span> <span class='varid'>dpy</span> <span class='varid'>win</span></pre>
Why not<br/>
<pre><span class='definition'>putStrLn</span> <span class='str'>"Unable to obtain ownership of the selection"</span> <span class='varop'>&gt;&gt;</span>
  <span class='varid'>destroyWindow</span> <span class='varid'>dpy</span> <span class='varid'>win</span></pre>
</div>

<div class="hint0 file43">
./XMonad/Layout/LayoutScreens.hs:61:17: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span><span class='layout'>{</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>focus</span> <span class='keyglyph'>=</span> <span class='num'>1</span><span class='layout'>,</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>up</span> <span class='keyglyph'>=</span> <span class='conid'>[]</span><span class='layout'>,</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>down</span> <span class='keyglyph'>=</span> <span class='keyglyph'>[</span><span class='num'>1</span> <span class='keyglyph'>..</span> <span class='varid'>nscr</span> <span class='comment'>-</span> <span class='num'>1</span><span class='keyglyph'>]</span><span class='layout'>}</span></pre>
Why not<br/>
<pre><span class='conid'>Just</span> <span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span><span class='layout'>{</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>focus</span> <span class='keyglyph'>=</span> <span class='num'>1</span><span class='layout'>,</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>up</span> <span class='keyglyph'>=</span> <span class='conid'>[]</span><span class='layout'>,</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>down</span> <span class='keyglyph'>=</span> <span class='keyglyph'>[</span><span class='num'>1</span> <span class='keyglyph'>..</span> <span class='varid'>nscr</span> <span class='comment'>-</span> <span class='num'>1</span><span class='keyglyph'>]</span><span class='layout'>}</span></pre>
</div>

<div class="hint11 file53">
./XMonad/Layout/Spiral.hs:58:7: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>scale</span> <span class='comment'>-</span> <span class='layout'>(</span><span class='num'>1</span> <span class='varop'>%</span> <span class='num'>1</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varop'>/</span> <span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varid'>len</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='layout'>(</span><span class='varid'>scale</span> <span class='comment'>-</span> <span class='layout'>(</span><span class='num'>1</span> <span class='varop'>%</span> <span class='num'>1</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varop'>/</span> <span class='varid'>fromIntegral</span> <span class='varid'>len</span></pre>
</div>

<div class="hint11 file53">
./XMonad/Layout/Spiral.hs:96:33: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>r1</span> <span class='conop'>:</span> <span class='layout'>(</span><span class='varid'>divideRects</span> <span class='varid'>xs</span> <span class='varid'>r2</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>r1</span> <span class='conop'>:</span> <span class='varid'>divideRects</span> <span class='varid'>xs</span> <span class='varid'>r2</span></pre>
</div>

<div class="hint11 file53">
./XMonad/Layout/Spiral.hs:121:18: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varid'>n</span><span class='layout'>)</span> <span class='varop'>*</span> <span class='layout'>(</span><span class='varid'>numerator</span> <span class='varid'>rat</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varop'>`div`</span> <span class='layout'>(</span><span class='varid'>denominator</span> <span class='varid'>rat</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varid'>n</span><span class='layout'>)</span> <span class='varop'>*</span> <span class='layout'>(</span><span class='varid'>numerator</span> <span class='varid'>rat</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varop'>`div`</span> <span class='varid'>denominator</span> <span class='varid'>rat</span></pre>
</div>

<div class="hint11 file53">
./XMonad/Layout/Spiral.hs:121:18: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varid'>n</span><span class='layout'>)</span> <span class='varop'>*</span> <span class='layout'>(</span><span class='varid'>numerator</span> <span class='varid'>rat</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>fromIntegral</span> <span class='varid'>n</span> <span class='varop'>*</span> <span class='varid'>numerator</span> <span class='varid'>rat</span></pre>
</div>

<div class="hint10 file34">
./XMonad/Layout/Decoration.hs:61:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>decoration</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='varid'>ds</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>Decoration</span> <span class='layout'>(</span><span class='conid'>I</span> <span class='conid'>Nothing</span><span class='layout'>)</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='varid'>ds</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>decoration</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>Decoration</span> <span class='layout'>(</span><span class='conid'>I</span> <span class='conid'>Nothing</span><span class='layout'>)</span> <span class='varid'>s</span> <span class='varid'>t</span></pre>
</div>

<div class="hint10 file34">
./XMonad/Layout/Decoration.hs:133:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>describeDeco</span> <span class='varid'>ds</span> <span class='keyglyph'>=</span> <span class='varid'>show</span> <span class='varid'>ds</span></pre>
Why not<br/>
<pre><span class='definition'>describeDeco</span> <span class='keyglyph'>=</span> <span class='varid'>show</span></pre>
</div>

<div class="hint10 file34">
./XMonad/Layout/Decoration.hs:150:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>decorationMouseFocusHook</span> <span class='keyword'>_</span> <span class='varid'>s</span> <span class='varid'>e</span> <span class='keyglyph'>=</span> <span class='varid'>handleMouseFocusDrag</span> <span class='conid'>False</span> <span class='varid'>s</span> <span class='varid'>e</span></pre>
Why not<br/>
<pre><span class='definition'>decorationMouseFocusHook</span> <span class='keyword'>_</span> <span class='keyglyph'>=</span> <span class='varid'>handleMouseFocusDrag</span> <span class='conid'>False</span></pre>
</div>

<div class="hint10 file34">
./XMonad/Layout/Decoration.hs:155:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>decorationMouseDragHook</span> <span class='keyword'>_</span> <span class='varid'>s</span> <span class='varid'>e</span> <span class='keyglyph'>=</span> <span class='varid'>handleMouseFocusDrag</span> <span class='conid'>True</span> <span class='varid'>s</span> <span class='varid'>e</span></pre>
Why not<br/>
<pre><span class='definition'>decorationMouseDragHook</span> <span class='keyword'>_</span> <span class='keyglyph'>=</span> <span class='varid'>handleMouseFocusDrag</span> <span class='conid'>True</span></pre>
</div>

<div class="hint10 file34">
./XMonad/Layout/Decoration.hs:171:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>decorate</span> <span class='varid'>ds</span> <span class='varid'>w</span> <span class='varid'>h</span> <span class='varid'>r</span> <span class='varid'>s</span> <span class='varid'>wrs</span> <span class='varid'>wr</span>
  <span class='keyglyph'>=</span> <span class='varid'>return</span> <span class='varop'>$</span> <span class='varid'>pureDecoration</span> <span class='varid'>ds</span> <span class='varid'>w</span> <span class='varid'>h</span> <span class='varid'>r</span> <span class='varid'>s</span> <span class='varid'>wrs</span> <span class='varid'>wr</span></pre>
Why not<br/>
<pre><span class='definition'>decorate</span> <span class='varid'>ds</span> <span class='varid'>w</span> <span class='varid'>h</span> <span class='varid'>r</span> <span class='varid'>s</span> <span class='varid'>wrs</span> <span class='keyglyph'>=</span> <span class='varid'>return</span> <span class='varop'>.</span> <span class='varid'>pureDecoration</span> <span class='varid'>ds</span> <span class='varid'>w</span> <span class='varid'>h</span> <span class='varid'>r</span> <span class='varid'>s</span> <span class='varid'>wrs</span></pre>
</div>

<div class="hint11 file34">
./XMonad/Layout/Decoration.hs:279:14: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>w</span> <span class='varop'>`elemIndex`</span> <span class='layout'>(</span><span class='varid'>map</span> <span class='layout'>(</span><span class='varid'>fst</span> <span class='varop'>.</span> <span class='varid'>fst</span><span class='layout'>)</span> <span class='varid'>dwrs</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>w</span> <span class='varop'>`elemIndex`</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='varid'>fst</span> <span class='varop'>.</span> <span class='varid'>fst</span><span class='layout'>)</span> <span class='varid'>dwrs</span></pre>
</div>

<div class="hint10 file34">
./XMonad/Layout/Decoration.hs:354:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>updateDecos</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='varid'>f</span> <span class='keyglyph'>=</span> <span class='varid'>mapM_</span> <span class='varop'>$</span> <span class='varid'>updateDeco</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='varid'>f</span></pre>
Why not<br/>
<pre><span class='definition'>updateDecos</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='keyglyph'>=</span> <span class='varid'>mapM_</span> <span class='varop'>.</span> <span class='varid'>updateDeco</span> <span class='varid'>s</span> <span class='varid'>t</span></pre>
</div>

<div class="hint10 file34">
./XMonad/Layout/Decoration.hs:382:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>isInStack</span> <span class='varid'>s</span> <span class='keyglyph'>=</span> <span class='varid'>flip</span> <span class='varid'>elem</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>integrate</span> <span class='varid'>s</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>isInStack</span> <span class='keyglyph'>=</span> <span class='varid'>flip</span> <span class='varid'>elem</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>integrate</span></pre>
</div>

<div class="hint0 file35">
./XMonad/Layout/FixedColumn.hs:61:5: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>return</span> <span class='varop'>$</span> <span class='layout'>(</span><span class='varid'>zip</span> <span class='varid'>ws</span> <span class='varid'>rs</span><span class='layout'>,</span> <span class='conid'>Nothing</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>return</span> <span class='layout'>(</span><span class='varid'>zip</span> <span class='varid'>ws</span> <span class='varid'>rs</span><span class='layout'>,</span> <span class='conid'>Nothing</span><span class='layout'>)</span></pre>
</div>

<div class="hint18 file35">
./XMonad/Layout/FixedColumn.hs:88:9: Warning: Use liftM<br/>
Found<br/>
<pre><span class='definition'>f</span> <span class='varid'>sh</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>return</span> <span class='varop'>.</span> <span class='varid'>fromIntegral</span> <span class='varop'>.</span> <span class='varid'>fst</span></pre>
Why not<br/>
<pre><span class='definition'>liftM</span> <span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varop'>.</span> <span class='varid'>fst</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>f</span> <span class='varid'>sh</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file41">
./XMonad/Layout/LayoutHints.hs:62:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>layoutHintsWithPlacement</span> <span class='varid'>rs</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>LayoutHints</span> <span class='varid'>rs</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>layoutHintsWithPlacement</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>LayoutHints</span></pre>
</div>

<div class="hint10 file38">
./XMonad/Layout/HintedTile.hs:87:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>description</span> <span class='varid'>l</span> <span class='keyglyph'>=</span> <span class='varid'>show</span> <span class='layout'>(</span><span class='varid'>orientation</span> <span class='varid'>l</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>description</span> <span class='keyglyph'>=</span> <span class='varid'>show</span> <span class='varop'>.</span> <span class='varid'>orientation</span></pre>
</div>

<div class="hint11 file38">
./XMonad/Layout/HintedTile.hs:101:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='conid'>Rectangle</span> <span class='layout'>(</span><span class='varid'>align</span> <span class='varid'>al</span> <span class='varid'>sx</span> <span class='varid'>sw</span> <span class='varid'>w</span><span class='layout'>)</span> <span class='varid'>sy</span> <span class='varid'>w</span> <span class='varid'>h</span><span class='layout'>)</span> <span class='conop'>:</span>
  <span class='layout'>(</span><span class='varid'>divide</span> <span class='varid'>al</span> <span class='conid'>Tall</span> <span class='varid'>bhs</span>
     <span class='layout'>(</span><span class='conid'>Rectangle</span> <span class='varid'>sx</span> <span class='layout'>(</span><span class='varid'>sy</span> <span class='varop'>+</span> <span class='varid'>fromIntegral</span> <span class='varid'>h</span><span class='layout'>)</span> <span class='varid'>sw</span> <span class='layout'>(</span><span class='varid'>sh</span> <span class='comment'>-</span> <span class='varid'>h</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='conid'>Rectangle</span> <span class='layout'>(</span><span class='varid'>align</span> <span class='varid'>al</span> <span class='varid'>sx</span> <span class='varid'>sw</span> <span class='varid'>w</span><span class='layout'>)</span> <span class='varid'>sy</span> <span class='varid'>w</span> <span class='varid'>h</span> <span class='conop'>:</span>
  <span class='varid'>divide</span> <span class='varid'>al</span> <span class='conid'>Tall</span> <span class='varid'>bhs</span> <span class='layout'>(</span><span class='conid'>Rectangle</span> <span class='varid'>sx</span> <span class='layout'>(</span><span class='varid'>sy</span> <span class='varop'>+</span> <span class='varid'>fromIntegral</span> <span class='varid'>h</span><span class='layout'>)</span> <span class='varid'>sw</span> <span class='layout'>(</span><span class='varid'>sh</span> <span class='comment'>-</span> <span class='varid'>h</span><span class='layout'>)</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file38">
./XMonad/Layout/HintedTile.hs:104:5: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='num'>1</span> <span class='varop'>+</span> <span class='layout'>(</span><span class='varid'>length</span> <span class='varid'>bhs</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='num'>1</span> <span class='varop'>+</span> <span class='varid'>length</span> <span class='varid'>bhs</span></pre>
</div>

<div class="hint11 file38">
./XMonad/Layout/HintedTile.hs:106:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='conid'>Rectangle</span> <span class='varid'>sx</span> <span class='layout'>(</span><span class='varid'>align</span> <span class='varid'>al</span> <span class='varid'>sy</span> <span class='varid'>sh</span> <span class='varid'>h</span><span class='layout'>)</span> <span class='varid'>w</span> <span class='varid'>h</span><span class='layout'>)</span> <span class='conop'>:</span>
  <span class='layout'>(</span><span class='varid'>divide</span> <span class='varid'>al</span> <span class='conid'>Wide</span> <span class='varid'>bhs</span>
     <span class='layout'>(</span><span class='conid'>Rectangle</span> <span class='layout'>(</span><span class='varid'>sx</span> <span class='varop'>+</span> <span class='varid'>fromIntegral</span> <span class='varid'>w</span><span class='layout'>)</span> <span class='varid'>sy</span> <span class='layout'>(</span><span class='varid'>sw</span> <span class='comment'>-</span> <span class='varid'>w</span><span class='layout'>)</span> <span class='varid'>sh</span><span class='layout'>)</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='conid'>Rectangle</span> <span class='varid'>sx</span> <span class='layout'>(</span><span class='varid'>align</span> <span class='varid'>al</span> <span class='varid'>sy</span> <span class='varid'>sh</span> <span class='varid'>h</span><span class='layout'>)</span> <span class='varid'>w</span> <span class='varid'>h</span> <span class='conop'>:</span>
  <span class='varid'>divide</span> <span class='varid'>al</span> <span class='conid'>Wide</span> <span class='varid'>bhs</span> <span class='layout'>(</span><span class='conid'>Rectangle</span> <span class='layout'>(</span><span class='varid'>sx</span> <span class='varop'>+</span> <span class='varid'>fromIntegral</span> <span class='varid'>w</span><span class='layout'>)</span> <span class='varid'>sy</span> <span class='layout'>(</span><span class='varid'>sw</span> <span class='comment'>-</span> <span class='varid'>w</span><span class='layout'>)</span> <span class='varid'>sh</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file38">
./XMonad/Layout/HintedTile.hs:109:5: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='num'>1</span> <span class='varop'>+</span> <span class='layout'>(</span><span class='varid'>length</span> <span class='varid'>bhs</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='num'>1</span> <span class='varop'>+</span> <span class='varid'>length</span> <span class='varid'>bhs</span></pre>
</div>

<div class="hint10 file46">
./XMonad/Layout/MultiToggle.hs:146:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>readsPrec</span> <span class='varid'>p</span> <span class='varid'>s</span> <span class='keyglyph'>=</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='varid'>first</span> <span class='varid'>expand</span><span class='layout'>)</span> <span class='varop'>$</span> <span class='varid'>readsPrec</span> <span class='varid'>p</span> <span class='varid'>s</span></pre>
Why not<br/>
<pre><span class='definition'>readsPrec</span> <span class='varid'>p</span> <span class='keyglyph'>=</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='varid'>first</span> <span class='varid'>expand</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='varid'>readsPrec</span> <span class='varid'>p</span></pre>
</div>

<div class="hint10 file46">
./XMonad/Layout/MultiToggle.hs:159:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>mkToggle1</span> <span class='varid'>t</span> <span class='keyglyph'>=</span> <span class='varid'>mkToggle</span> <span class='layout'>(</span><span class='varid'>single</span> <span class='varid'>t</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>mkToggle1</span> <span class='keyglyph'>=</span> <span class='varid'>mkToggle</span> <span class='varop'>.</span> <span class='varid'>single</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:80:35: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l1</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l1</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:81:35: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l2</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l2</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:82:38: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>super</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>super</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:85:36: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l1</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l1</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:86:36: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l2</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l2</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:87:39: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>super</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>super</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:90:15: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>super</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>super</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:90:15: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l1</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l1</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:90:15: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l2</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l2</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:110:34: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l1</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l1</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:111:34: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l2</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l2</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:115:37: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l1</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l1</span></pre>
</div>

<div class="hint4 file33">
./XMonad/Layout/Combo.hs:116:37: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l2</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l2</span></pre>
</div>

<div class="hint0 file33">
./XMonad/Layout/Combo.hs:134:25: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>Just</span> <span class='varop'>$</span>
  <span class='conid'>Stack</span><span class='layout'>{</span><span class='varid'>focus</span> <span class='keyglyph'>=</span> <span class='varid'>z</span><span class='layout'>,</span> <span class='varid'>up</span> <span class='keyglyph'>=</span> <span class='varid'>reverse</span> <span class='varop'>$</span> <span class='varid'>takeWhile</span> <span class='layout'>(</span><span class='varop'>/=</span> <span class='varid'>z</span><span class='layout'>)</span> <span class='varid'>xs</span><span class='layout'>,</span>
        <span class='varid'>down</span> <span class='keyglyph'>=</span> <span class='varid'>tail</span> <span class='varop'>$</span> <span class='varid'>dropWhile</span> <span class='layout'>(</span><span class='varop'>/=</span> <span class='varid'>z</span><span class='layout'>)</span> <span class='varid'>xs</span><span class='layout'>}</span></pre>
Why not<br/>
<pre><span class='conid'>Just</span>
  <span class='conid'>Stack</span><span class='layout'>{</span><span class='varid'>focus</span> <span class='keyglyph'>=</span> <span class='varid'>z</span><span class='layout'>,</span> <span class='varid'>up</span> <span class='keyglyph'>=</span> <span class='varid'>reverse</span> <span class='varop'>$</span> <span class='varid'>takeWhile</span> <span class='layout'>(</span><span class='varop'>/=</span> <span class='varid'>z</span><span class='layout'>)</span> <span class='varid'>xs</span><span class='layout'>,</span>
        <span class='varid'>down</span> <span class='keyglyph'>=</span> <span class='varid'>tail</span> <span class='varop'>$</span> <span class='varid'>dropWhile</span> <span class='layout'>(</span><span class='varop'>/=</span> <span class='varid'>z</span><span class='layout'>)</span> <span class='varid'>xs</span><span class='layout'>}</span></pre>
</div>

<div class="hint11 file33">
./XMonad/Layout/Combo.hs:141:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>flip</span> <span class='varid'>maybe</span><span class='layout'>)</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>flip</span> <span class='varid'>maybe</span> <span class='varid'>id</span></pre>
</div>

<div class="hint11 file52">
./XMonad/Layout/SimplestFloat.hs:45:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>windowArrangeAll</span> <span class='varop'>$</span> <span class='conid'>SF</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>windowArrangeAll</span> <span class='varop'>$</span> <span class='conid'>SF</span></pre>
</div>

<div class="hint0 file52">
./XMonad/Layout/SimplestFloat.hs:45:1: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>windowArrangeAll</span> <span class='varop'>$</span> <span class='conid'>SF</span></pre>
Why not<br/>
<pre><span class='definition'>windowArrangeAll</span> <span class='conid'>SF</span></pre>
</div>

<div class="hint10 file52">
./XMonad/Layout/SimplestFloat.hs:64:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>fi</span> <span class='varid'>x</span> <span class='keyglyph'>=</span> <span class='varid'>fromIntegral</span> <span class='varid'>x</span></pre>
Why not<br/>
<pre><span class='definition'>fi</span> <span class='keyglyph'>=</span> <span class='varid'>fromIntegral</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:122:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='layout'>(</span><span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span> <span class='varop'>`addto`</span> <span class='num'>0.1</span><span class='layout'>)</span> <span class='conid'>On</span> <span class='varid'>t</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span> <span class='varop'>`addto`</span> <span class='num'>0.1</span><span class='layout'>)</span> <span class='conid'>On</span> <span class='varid'>t</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:123:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='layout'>(</span><span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span> <span class='varop'>`addto`</span> <span class='layout'>(</span><span class='comment'>-</span> <span class='num'>0.1</span><span class='layout'>)</span><span class='layout'>)</span> <span class='conid'>On</span> <span class='varid'>t</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span> <span class='varop'>`addto`</span> <span class='layout'>(</span><span class='comment'>-</span> <span class='num'>0.1</span><span class='layout'>)</span><span class='layout'>)</span> <span class='conid'>On</span> <span class='varid'>t</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:124:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='layout'>(</span><span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span><span class='layout'>)</span> <span class='conid'>Off</span> <span class='varid'>t</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span><span class='layout'>)</span> <span class='conid'>Off</span> <span class='varid'>t</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:124:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='conid'>Mag</span> <span class='varid'>z</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:125:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='layout'>(</span><span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span><span class='layout'>)</span> <span class='conid'>Off</span> <span class='varid'>t</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span><span class='layout'>)</span> <span class='conid'>Off</span> <span class='varid'>t</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:125:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='conid'>Mag</span> <span class='layout'>(</span><span class='varid'>z</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='conid'>Mag</span> <span class='varid'>z</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:128:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='layout'>(</span><span class='conid'>Mag</span> <span class='varid'>z</span> <span class='conid'>On</span> <span class='varid'>t</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>Mag</span> <span class='varid'>z</span> <span class='conid'>On</span> <span class='varid'>t</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:129:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='layout'>(</span><span class='conid'>Mag</span> <span class='varid'>z</span> <span class='conid'>On</span> <span class='varid'>t</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>return</span> <span class='varop'>.</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>Mag</span> <span class='varid'>z</span> <span class='conid'>On</span> <span class='varid'>t</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:158:11: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>x</span> <span class='comment'>-</span> <span class='layout'>(</span><span class='varid'>max</span> <span class='num'>0</span> <span class='layout'>(</span><span class='varid'>x</span> <span class='varop'>+</span> <span class='varid'>fi</span> <span class='varid'>w</span> <span class='comment'>-</span> <span class='varid'>sx</span> <span class='comment'>-</span> <span class='varid'>fi</span> <span class='varid'>sw</span><span class='layout'>)</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>x</span> <span class='comment'>-</span> <span class='varid'>max</span> <span class='num'>0</span> <span class='layout'>(</span><span class='varid'>x</span> <span class='varop'>+</span> <span class='varid'>fi</span> <span class='varid'>w</span> <span class='comment'>-</span> <span class='varid'>sx</span> <span class='comment'>-</span> <span class='varid'>fi</span> <span class='varid'>sw</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file44">
./XMonad/Layout/Magnifier.hs:159:11: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>y</span> <span class='comment'>-</span> <span class='layout'>(</span><span class='varid'>max</span> <span class='num'>0</span> <span class='layout'>(</span><span class='varid'>y</span> <span class='varop'>+</span> <span class='varid'>fi</span> <span class='varid'>h</span> <span class='comment'>-</span> <span class='varid'>sy</span> <span class='comment'>-</span> <span class='varid'>fi</span> <span class='varid'>sh</span><span class='layout'>)</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>y</span> <span class='comment'>-</span> <span class='varid'>max</span> <span class='num'>0</span> <span class='layout'>(</span><span class='varid'>y</span> <span class='varop'>+</span> <span class='varid'>fi</span> <span class='varid'>h</span> <span class='comment'>-</span> <span class='varid'>sy</span> <span class='comment'>-</span> <span class='varid'>fi</span> <span class='varid'>sh</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file49">
./XMonad/Layout/ResizeScreen.hs:45:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>resizeHorizontal</span> <span class='varid'>i</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>ResizeScreen</span> <span class='conid'>L</span> <span class='varid'>i</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>resizeHorizontal</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>ResizeScreen</span> <span class='conid'>L</span></pre>
</div>

<div class="hint10 file49">
./XMonad/Layout/ResizeScreen.hs:48:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>resizeVertical</span> <span class='varid'>i</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>ResizeScreen</span> <span class='conid'>T</span> <span class='varid'>i</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>resizeVertical</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>ResizeScreen</span> <span class='conid'>T</span></pre>
</div>

<div class="hint10 file49">
./XMonad/Layout/ResizeScreen.hs:51:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>resizeHorizontalRight</span> <span class='varid'>i</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>ResizeScreen</span> <span class='conid'>R</span> <span class='varid'>i</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>resizeHorizontalRight</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>ResizeScreen</span> <span class='conid'>R</span></pre>
</div>

<div class="hint10 file49">
./XMonad/Layout/ResizeScreen.hs:54:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>resizeVerticalBottom</span> <span class='varid'>i</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>ResizeScreen</span> <span class='conid'>B</span> <span class='varid'>i</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>resizeVerticalBottom</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>ResizeScreen</span> <span class='conid'>B</span></pre>
</div>

<div class="hint10 file49">
./XMonad/Layout/ResizeScreen.hs:57:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>withNewRectangle</span> <span class='varid'>r</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>WithNewScreen</span> <span class='varid'>r</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>withNewRectangle</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>WithNewScreen</span></pre>
</div>

<div class="hint10 file49">
./XMonad/Layout/ResizeScreen.hs:73:14: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>resize</span> <span class='varid'>nr</span> <span class='keyglyph'>=</span> <span class='varid'>runLayout</span> <span class='varid'>ws</span> <span class='varid'>nr</span></pre>
Why not<br/>
<pre><span class='definition'>resize</span> <span class='keyglyph'>=</span> <span class='varid'>runLayout</span> <span class='varid'>ws</span></pre>
</div>

<div class="hint10 file47">
./XMonad/Layout/Named.hs:41:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>named</span> <span class='varid'>s</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>Named</span> <span class='varid'>s</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>named</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>Named</span></pre>
</div>

<div class="hint0 file32">
./XMonad/Layout/BoringWindows.hs:47:9: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>modify'</span> <span class='varop'>$</span> <span class='varid'>focusUp'</span></pre>
Why not<br/>
<pre><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>modify'</span> <span class='varid'>focusUp'</span></pre>
</div>

<div class="hint10 file36">
./XMonad/Layout/Gaps.hs:104:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>modifyLayout</span> <span class='varid'>g</span> <span class='varid'>w</span> <span class='varid'>r</span> <span class='keyglyph'>=</span> <span class='varid'>runLayout</span> <span class='varid'>w</span> <span class='layout'>(</span><span class='varid'>applyGaps</span> <span class='varid'>g</span> <span class='varid'>r</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>modifyLayout</span> <span class='varid'>g</span> <span class='varid'>w</span> <span class='keyglyph'>=</span> <span class='varid'>runLayout</span> <span class='varid'>w</span> <span class='varop'>.</span> <span class='varid'>applyGaps</span> <span class='varid'>g</span></pre>
</div>

<div class="hint11 file36">
./XMonad/Layout/Gaps.hs:134:22: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>d</span> <span class='varop'>`elem`</span> <span class='layout'>(</span><span class='varid'>map</span> <span class='varid'>fst</span> <span class='varid'>conf</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>d</span> <span class='varop'>`elem`</span> <span class='varid'>map</span> <span class='varid'>fst</span> <span class='varid'>conf</span></pre>
</div>

<div class="hint10 file56">
./XMonad/Layout/WorkspaceDir.hs:82:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>workspaceDir</span> <span class='varid'>s</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>WorkspaceDir</span> <span class='varid'>s</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>workspaceDir</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>WorkspaceDir</span></pre>
</div>

<div class="hint0 file37">
./XMonad/Layout/HintedGrid.hs:99:13: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>map</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>width'</span> <span class='varop'>+</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='layout'>(</span><span class='varop'>`div`</span> <span class='num'>2</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='layout'>(</span><span class='varid'>maxw</span> <span class='comment'>-</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varop'>$</span> <span class='varid'>ws</span></pre>
Why not<br/>
<pre><span class='definition'>map</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>width'</span> <span class='varop'>+</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='layout'>(</span><span class='varop'>`div`</span> <span class='num'>2</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='layout'>(</span><span class='varid'>maxw</span> <span class='comment'>-</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varid'>ws</span></pre>
</div>

<div class="hint11 file50">
./XMonad/Layout/Roledex.hs:47:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>zip</span> <span class='varid'>ups</span> <span class='varid'>tops</span><span class='layout'>)</span> <span class='varop'>++</span> <span class='layout'>(</span><span class='varid'>reverse</span> <span class='layout'>(</span><span class='varid'>zip</span> <span class='varid'>dns</span> <span class='varid'>bottoms</span><span class='layout'>)</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>zip</span> <span class='varid'>ups</span> <span class='varid'>tops</span> <span class='varop'>++</span> <span class='varid'>reverse</span> <span class='layout'>(</span><span class='varid'>zip</span> <span class='varid'>dns</span> <span class='varid'>bottoms</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file50">
./XMonad/Layout/Roledex.hs:64:8: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>x</span> <span class='varop'>+</span> <span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varid'>mx</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>x</span> <span class='varop'>+</span> <span class='varid'>fromIntegral</span> <span class='varid'>mx</span></pre>
</div>

<div class="hint11 file50">
./XMonad/Layout/Roledex.hs:64:8: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>y</span> <span class='varop'>+</span> <span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varid'>my</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>y</span> <span class='varop'>+</span> <span class='varid'>fromIntegral</span> <span class='varid'>my</span></pre>
</div>

<div class="hint0 file50">
./XMonad/Layout/Roledex.hs:66:8: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>map</span> <span class='varid'>f</span> <span class='varop'>$</span> <span class='keyglyph'>[</span><span class='num'>0</span> <span class='keyglyph'>..</span> <span class='layout'>(</span><span class='varid'>length</span> <span class='varid'>dns</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='definition'>map</span> <span class='varid'>f</span> <span class='keyglyph'>[</span><span class='num'>0</span> <span class='keyglyph'>..</span> <span class='layout'>(</span><span class='varid'>length</span> <span class='varid'>dns</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint11 file50">
./XMonad/Layout/Roledex.hs:67:8: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>gw</span> <span class='varop'>*</span> <span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varid'>n</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>gw</span> <span class='varop'>*</span> <span class='varid'>fromIntegral</span> <span class='varid'>n</span></pre>
</div>

<div class="hint11 file50">
./XMonad/Layout/Roledex.hs:67:8: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>gh</span> <span class='varop'>*</span> <span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varid'>n</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>gh</span> <span class='varop'>*</span> <span class='varid'>fromIntegral</span> <span class='varid'>n</span></pre>
</div>

<div class="hint11 file50">
./XMonad/Layout/Roledex.hs:68:8: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>n</span> <span class='comment'>-</span> <span class='num'>1</span><span class='layout'>)</span> <span class='conop'>:</span> <span class='layout'>(</span><span class='varid'>cd</span> <span class='layout'>(</span><span class='varid'>n</span> <span class='comment'>-</span> <span class='num'>1</span><span class='layout'>)</span> <span class='varid'>m</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='layout'>(</span><span class='varid'>n</span> <span class='comment'>-</span> <span class='num'>1</span><span class='layout'>)</span> <span class='conop'>:</span> <span class='varid'>cd</span> <span class='layout'>(</span><span class='varid'>n</span> <span class='comment'>-</span> <span class='num'>1</span><span class='layout'>)</span> <span class='varid'>m</span></pre>
</div>

<div class="hint10 file54">
./XMonad/Layout/TabBarDecoration.hs:62:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>tabBar</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='varid'>p</span> <span class='keyglyph'>=</span> <span class='varid'>decoration</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='layout'>(</span><span class='conid'>TabBar</span> <span class='varid'>p</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>tabBar</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='keyglyph'>=</span> <span class='varid'>decoration</span> <span class='varid'>s</span> <span class='varid'>t</span> <span class='varop'>.</span> <span class='conid'>TabBar</span></pre>
</div>

<div class="hint11 file45">
./XMonad/Layout/MosaicAlt.hs:162:9: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='varid'>w</span> <span class='varop'>&lt;</span> <span class='num'>700</span> <span class='keyword'>then</span> <span class='layout'>(</span><span class='layout'>(</span><span class='num'>1</span> <span class='varop'>/</span> <span class='varid'>a</span><span class='layout'>)</span> <span class='varop'>*</span> <span class='layout'>(</span><span class='num'>700</span> <span class='varop'>/</span> <span class='varid'>w</span><span class='layout'>)</span><span class='layout'>)</span> <span class='keyword'>else</span> <span class='num'>1</span> <span class='varop'>/</span> <span class='varid'>a</span></pre>
Why not<br/>
<pre><span class='keyword'>if</span> <span class='varid'>w</span> <span class='varop'>&lt;</span> <span class='num'>700</span> <span class='keyword'>then</span> <span class='layout'>(</span><span class='num'>1</span> <span class='varop'>/</span> <span class='varid'>a</span><span class='layout'>)</span> <span class='varop'>*</span> <span class='layout'>(</span><span class='num'>700</span> <span class='varop'>/</span> <span class='varid'>w</span><span class='layout'>)</span> <span class='keyword'>else</span> <span class='num'>1</span> <span class='varop'>/</span> <span class='varid'>a</span></pre>
</div>

<div class="hint11 file45">
./XMonad/Layout/MosaicAlt.hs:163:9: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='varid'>w</span> <span class='varop'>&lt;</span> <span class='num'>700</span> <span class='keyword'>then</span> <span class='varid'>a</span> <span class='keyword'>else</span> <span class='layout'>(</span><span class='varid'>a</span> <span class='varop'>*</span> <span class='varid'>w</span> <span class='varop'>/</span> <span class='num'>700</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='keyword'>if</span> <span class='varid'>w</span> <span class='varop'>&lt;</span> <span class='num'>700</span> <span class='keyword'>then</span> <span class='varid'>a</span> <span class='keyword'>else</span> <span class='varid'>a</span> <span class='varop'>*</span> <span class='varid'>w</span> <span class='varop'>/</span> <span class='num'>700</span></pre>
</div>

<div class="hint10 file39">
./XMonad/Layout/IM.hs:85:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>withIM</span> <span class='varid'>ratio</span> <span class='varid'>prop</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>$</span> <span class='conid'>AddRoster</span> <span class='varid'>ratio</span> <span class='varid'>prop</span></pre>
Why not<br/>
<pre><span class='definition'>withIM</span> <span class='varid'>ratio</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>AddRoster</span> <span class='varid'>ratio</span></pre>
</div>

<div class="hint0 file39">
./XMonad/Layout/IM.hs:101:9: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>S</span><span class='varop'>.</span><span class='varid'>integrate'</span> <span class='varop'>$</span> <span class='varid'>stack</span></pre>
Why not<br/>
<pre><span class='conid'>S</span><span class='varop'>.</span><span class='varid'>integrate'</span> <span class='varid'>stack</span></pre>
</div>

<div class="hint16 file51">
./XMonad/Layout/ShowWName.hs:55:1: Warning: Use camelCase<br/>
Found<br/>
<pre><span class='keyword'>data</span> <span class='conid'>SWNConfig</span> <span class='keyglyph'>=</span> <span class='conid'>SWNC</span><span class='layout'>{</span><span class='varid'>swn_font</span> <span class='keyglyph'>::</span> <span class='conid'>String</span><span class='layout'>,</span> <span class='varid'>swn_bgcolor</span> <span class='keyglyph'>::</span> <span class='conid'>String</span><span class='layout'>,</span>
                      <span class='varid'>swn_color</span> <span class='keyglyph'>::</span> <span class='conid'>String</span><span class='layout'>,</span> <span class='varid'>swn_fade</span> <span class='keyglyph'>::</span> <span class='conid'>Rational</span><span class='layout'>}</span>
               <span class='keyword'>deriving</span> <span class='layout'>(</span><span class='conid'>Read</span><span class='layout'>,</span> <span class='conid'>Show</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='keyword'>data</span> <span class='conid'>SWNConfig</span> <span class='keyglyph'>=</span> <span class='conid'>SWNC</span><span class='layout'>{</span><span class='varid'>swnFont</span> <span class='keyglyph'>::</span> <span class='conid'>String</span><span class='layout'>,</span> <span class='varid'>swnBgcolor</span> <span class='keyglyph'>::</span> <span class='conid'>String</span><span class='layout'>,</span>
                      <span class='varid'>swnColor</span> <span class='keyglyph'>::</span> <span class='conid'>String</span><span class='layout'>,</span> <span class='varid'>swnFade</span> <span class='keyglyph'>::</span> <span class='conid'>Rational</span><span class='layout'>}</span>
               <span class='keyword'>deriving</span> <span class='layout'>(</span><span class='conid'>Read</span><span class='layout'>,</span> <span class='conid'>Show</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file51">
./XMonad/Layout/ShowWName.hs:71:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>redoLayout</span> <span class='varid'>sn</span> <span class='varid'>r</span> <span class='keyword'>_</span> <span class='varid'>wrs</span> <span class='keyglyph'>=</span> <span class='varid'>doShow</span> <span class='varid'>sn</span> <span class='varid'>r</span> <span class='varid'>wrs</span></pre>
Why not<br/>
<pre><span class='definition'>redoLayout</span> <span class='varid'>sn</span> <span class='varid'>r</span> <span class='keyword'>_</span> <span class='keyglyph'>=</span> <span class='varid'>doShow</span> <span class='varid'>sn</span> <span class='varid'>r</span></pre>
</div>

<div class="hint4 file55">
./XMonad/Layout/ToggleLayouts.hs:78:55: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>lt</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>lt</span></pre>
</div>

<div class="hint4 file55">
./XMonad/Layout/ToggleLayouts.hs:83:22: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>lt</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>lt</span></pre>
</div>

<div class="hint4 file55">
./XMonad/Layout/ToggleLayouts.hs:89:55: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>lf</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>lf</span></pre>
</div>

<div class="hint4 file55">
./XMonad/Layout/ToggleLayouts.hs:94:22: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>lf</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>lf</span></pre>
</div>

<div class="hint10 file42">
./XMonad/Layout/LayoutModifier.hs:108:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>modifyLayout</span> <span class='keyword'>_</span> <span class='varid'>w</span> <span class='varid'>r</span> <span class='keyglyph'>=</span> <span class='varid'>runLayout</span> <span class='varid'>w</span> <span class='varid'>r</span></pre>
Why not<br/>
<pre><span class='definition'>modifyLayout</span> <span class='keyword'>_</span> <span class='keyglyph'>=</span> <span class='varid'>runLayout</span></pre>
</div>

<div class="hint4 file42">
./XMonad/Layout/LayoutModifier.hs:241:25: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l</span></pre>
</div>

<div class="hint11 file42">
./XMonad/Layout/LayoutModifier.hs:241:25: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='conid'>ModifiedLayout</span> <span class='varid'>m'</span><span class='layout'>)</span> <span class='varop'>$</span> <span class='varid'>maybe</span> <span class='varid'>l</span> <span class='varid'>id</span> <span class='varid'>ml'</span></pre>
Why not<br/>
<pre><span class='conid'>ModifiedLayout</span> <span class='varid'>m'</span> <span class='varop'>$</span> <span class='varid'>maybe</span> <span class='varid'>l</span> <span class='varid'>id</span> <span class='varid'>ml'</span></pre>
</div>

<div class="hint4 file42">
./XMonad/Layout/LayoutModifier.hs:251:21: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l</span></pre>
</div>

<div class="hint11 file42">
./XMonad/Layout/LayoutModifier.hs:251:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='conid'>ModifiedLayout</span> <span class='varid'>m'</span><span class='layout'>)</span> <span class='varop'>$</span> <span class='varid'>maybe</span> <span class='varid'>l</span> <span class='varid'>id</span> <span class='varid'>ml'</span></pre>
Why not<br/>
<pre><span class='conid'>ModifiedLayout</span> <span class='varid'>m'</span> <span class='varop'>$</span> <span class='varid'>maybe</span> <span class='varid'>l</span> <span class='varid'>id</span> <span class='varid'>ml'</span></pre>
</div>

<div class="hint11 file42">
./XMonad/Layout/LayoutModifier.hs:252:21: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='conid'>ModifiedLayout</span> <span class='varid'>m</span><span class='layout'>)</span> <span class='varop'>`fmap`</span> <span class='varid'>ml'</span></pre>
Why not<br/>
<pre><span class='conid'>ModifiedLayout</span> <span class='varid'>m</span> <span class='varop'>`fmap`</span> <span class='varid'>ml'</span></pre>
</div>

<div class="hint10 file48">
./XMonad/Layout/PerWorkspace.hs:72:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>onWorkspaces</span> <span class='varid'>wsIds</span> <span class='varid'>l1</span> <span class='varid'>l2</span> <span class='keyglyph'>=</span> <span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='conid'>False</span> <span class='varid'>l1</span> <span class='varid'>l2</span></pre>
Why not<br/>
<pre><span class='definition'>onWorkspaces</span> <span class='varid'>wsIds</span> <span class='keyglyph'>=</span> <span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='conid'>False</span></pre>
</div>

<div class="hint10 file48">
./XMonad/Layout/PerWorkspace.hs:120:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>mkNewPerWorkspaceT</span> <span class='layout'>(</span><span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='keyword'>_</span> <span class='varid'>lt</span> <span class='varid'>lf</span><span class='layout'>)</span> <span class='varid'>mlt'</span>
  <span class='keyglyph'>=</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>lt'</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='conid'>True</span> <span class='varid'>lt'</span> <span class='varid'>lf</span><span class='layout'>)</span> <span class='varop'>$</span> <span class='varid'>fromMaybe</span> <span class='varid'>lt</span> <span class='varid'>mlt'</span></pre>
Why not<br/>
<pre><span class='definition'>mkNewPerWorkspaceT</span> <span class='layout'>(</span><span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='keyword'>_</span> <span class='varid'>lt</span> <span class='varid'>lf</span><span class='layout'>)</span>
  <span class='keyglyph'>=</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>lt'</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='conid'>True</span> <span class='varid'>lt'</span> <span class='varid'>lf</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='varid'>fromMaybe</span> <span class='varid'>lt</span></pre>
</div>

<div class="hint10 file48">
./XMonad/Layout/PerWorkspace.hs:125:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>mkNewPerWorkspaceF</span> <span class='layout'>(</span><span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='keyword'>_</span> <span class='varid'>lt</span> <span class='varid'>lf</span><span class='layout'>)</span> <span class='varid'>mlf'</span>
  <span class='keyglyph'>=</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>lf'</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='conid'>False</span> <span class='varid'>lt</span> <span class='varid'>lf'</span><span class='layout'>)</span> <span class='varop'>$</span> <span class='varid'>fromMaybe</span> <span class='varid'>lf</span> <span class='varid'>mlf'</span></pre>
Why not<br/>
<pre><span class='definition'>mkNewPerWorkspaceF</span> <span class='layout'>(</span><span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='keyword'>_</span> <span class='varid'>lt</span> <span class='varid'>lf</span><span class='layout'>)</span>
  <span class='keyglyph'>=</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>lf'</span> <span class='keyglyph'>-&gt;</span> <span class='conid'>PerWorkspace</span> <span class='varid'>wsIds</span> <span class='conid'>False</span> <span class='varid'>lt</span> <span class='varid'>lf'</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='varid'>fromMaybe</span> <span class='varid'>lf</span></pre>
</div>

<div class="hint4 file40">
./XMonad/Layout/LayoutCombinators.hs:254:9: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l1</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l1</span></pre>
</div>

<div class="hint4 file40">
./XMonad/Layout/LayoutCombinators.hs:254:9: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l2</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l2</span></pre>
</div>

<div class="hint4 file40">
./XMonad/Layout/LayoutCombinators.hs:270:1: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>l</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>l</span></pre>
</div>

<div class="hint0 file62">
./XMonad/Prompt/Ssh.hs:57:6: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>io</span> <span class='varop'>$</span> <span class='varid'>sshComplList</span></pre>
Why not<br/>
<pre><span class='definition'>io</span> <span class='varid'>sshComplList</span></pre>
</div>

<div class="hint0 file60">
./XMonad/Prompt/RunOrRaise.hs:50:30: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>io</span> <span class='varop'>$</span> <span class='varid'>getCommands</span></pre>
Why not<br/>
<pre><span class='definition'>io</span> <span class='varid'>getCommands</span></pre>
</div>

<div class="hint11 file60">
./XMonad/Prompt/RunOrRaise.hs:58:38: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='varid'>e</span> <span class='keyword'>then</span> <span class='layout'>(</span><span class='varid'>notExecutable</span> <span class='varid'>f</span><span class='layout'>)</span> <span class='keyword'>else</span> <span class='varid'>return</span> <span class='conid'>False</span></pre>
Why not<br/>
<pre><span class='keyword'>if</span> <span class='varid'>e</span> <span class='keyword'>then</span> <span class='varid'>notExecutable</span> <span class='varid'>f</span> <span class='keyword'>else</span> <span class='varid'>return</span> <span class='conid'>False</span></pre>
</div>

<div class="hint0 file60">
./XMonad/Prompt/RunOrRaise.hs:69:74: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>return</span> <span class='varop'>$</span> <span class='num'>0</span></pre>
Why not<br/>
<pre><span class='definition'>return</span> <span class='num'>0</span></pre>
</div>

<div class="hint18 file60">
./XMonad/Prompt/RunOrRaise.hs:73:51: Warning: Use liftM<br/>
Found<br/>
<pre><span class='definition'>getWindowProperty32</span> <span class='varid'>d</span> <span class='varid'>a</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>return</span> <span class='varop'>.</span> <span class='varid'>getPID'</span></pre>
Why not<br/>
<pre><span class='definition'>liftM</span> <span class='varid'>getPID'</span> <span class='layout'>(</span><span class='varid'>getWindowProperty32</span> <span class='varid'>d</span> <span class='varid'>a</span> <span class='varid'>w</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file63">
./XMonad/Prompt/Window.hs:71:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>windowPromptGoto</span> <span class='varid'>c</span> <span class='keyglyph'>=</span> <span class='varid'>doPrompt</span> <span class='conid'>Goto</span> <span class='varid'>c</span></pre>
Why not<br/>
<pre><span class='definition'>windowPromptGoto</span> <span class='keyglyph'>=</span> <span class='varid'>doPrompt</span> <span class='conid'>Goto</span></pre>
</div>

<div class="hint10 file63">
./XMonad/Prompt/Window.hs:72:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>windowPromptBring</span> <span class='varid'>c</span> <span class='keyglyph'>=</span> <span class='varid'>doPrompt</span> <span class='conid'>Bring</span> <span class='varid'>c</span></pre>
Why not<br/>
<pre><span class='definition'>windowPromptBring</span> <span class='keyglyph'>=</span> <span class='varid'>doPrompt</span> <span class='conid'>Bring</span></pre>
</div>

<div class="hint10 file63">
./XMonad/Prompt/Window.hs:73:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>windowPromptBringCopy</span> <span class='varid'>c</span> <span class='keyglyph'>=</span> <span class='varid'>doPrompt</span> <span class='conid'>BringCopy</span> <span class='varid'>c</span></pre>
Why not<br/>
<pre><span class='definition'>windowPromptBringCopy</span> <span class='keyglyph'>=</span> <span class='varid'>doPrompt</span> <span class='conid'>BringCopy</span></pre>
</div>

<div class="hint0 file63">
./XMonad/Prompt/Window.hs:97:1: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>currentTag</span> <span class='varop'>$</span> <span class='varid'>ws</span></pre>
Why not<br/>
<pre><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>currentTag</span> <span class='varid'>ws</span></pre>
</div>

<div class="hint10 file58">
./XMonad/Prompt/AppendFile.hs:64:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>doAppend</span> <span class='varid'>fn</span> <span class='varid'>s</span>
  <span class='keyglyph'>=</span> <span class='varid'>io</span> <span class='varop'>$</span> <span class='varid'>bracket</span> <span class='layout'>(</span><span class='varid'>openFile</span> <span class='varid'>fn</span> <span class='conid'>AppendMode</span><span class='layout'>)</span> <span class='varid'>hClose</span> <span class='layout'>(</span><span class='varid'>flip</span> <span class='varid'>hPutStrLn</span> <span class='varid'>s</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>doAppend</span> <span class='varid'>fn</span>
  <span class='keyglyph'>=</span> <span class='varid'>io</span> <span class='varop'>.</span> <span class='varid'>bracket</span> <span class='layout'>(</span><span class='varid'>openFile</span> <span class='varid'>fn</span> <span class='conid'>AppendMode</span><span class='layout'>)</span> <span class='varid'>hClose</span> <span class='varop'>.</span> <span class='varid'>flip</span> <span class='varid'>hPutStrLn</span></pre>
</div>

<div class="hint0 file61">
./XMonad/Prompt/Shell.hs:60:10: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>io</span> <span class='varop'>$</span> <span class='varid'>getCommands</span></pre>
Why not<br/>
<pre><span class='definition'>io</span> <span class='varid'>getCommands</span></pre>
</div>

<div class="hint10 file59">
./XMonad/Prompt/Directory.hs:34:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>directoryPrompt</span> <span class='varid'>c</span> <span class='varid'>prom</span> <span class='varid'>job</span> <span class='keyglyph'>=</span> <span class='varid'>mkXPrompt</span> <span class='layout'>(</span><span class='conid'>Dir</span> <span class='varid'>prom</span><span class='layout'>)</span> <span class='varid'>c</span> <span class='varid'>getDirCompl</span> <span class='varid'>job</span></pre>
Why not<br/>
<pre><span class='definition'>directoryPrompt</span> <span class='varid'>c</span> <span class='varid'>prom</span> <span class='keyglyph'>=</span> <span class='varid'>mkXPrompt</span> <span class='layout'>(</span><span class='conid'>Dir</span> <span class='varid'>prom</span><span class='layout'>)</span> <span class='varid'>c</span> <span class='varid'>getDirCompl</span></pre>
</div>

<div class="hint6 file6">
./XMonad/Actions/MouseResize.hs:75:11: Error: Use mapM_<br/>
Found<br/>
<pre><span class='definition'>mapM</span> <span class='layout'>(</span><span class='varid'>deleteInputWin</span> <span class='varop'>.</span> <span class='varid'>snd</span><span class='layout'>)</span> <span class='varid'>st</span></pre>
Why not<br/>
<pre><span class='definition'>mapM_</span> <span class='layout'>(</span><span class='varid'>deleteInputWin</span> <span class='varop'>.</span> <span class='varid'>snd</span><span class='layout'>)</span> <span class='varid'>st</span></pre>
</div>

<div class="hint1 file6">
./XMonad/Actions/MouseResize.hs:112:1: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='keyword'>case</span> <span class='varid'>mr</span> <span class='keyword'>of</span>
       <span class='conid'>Just</span> <span class='varid'>tr</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>withDisplay</span> <span class='varop'>$</span>
                    <span class='keyglyph'>\</span> <span class='varid'>d</span> <span class='keyglyph'>-&gt;</span>
                      <span class='keyword'>do</span> <span class='varid'>tw</span> <span class='keyglyph'>&lt;-</span> <span class='varid'>mkInputWindow</span> <span class='varid'>d</span> <span class='varid'>tr</span>
                         <span class='varid'>io</span> <span class='varop'>$</span> <span class='varid'>selectInput</span> <span class='varid'>d</span> <span class='varid'>tw</span> <span class='layout'>(</span><span class='varid'>exposureMask</span> <span class='varop'>.|.</span> <span class='varid'>buttonPressMask</span><span class='layout'>)</span>
                         <span class='varid'>showWindow</span> <span class='varid'>tw</span>
                         <span class='varid'>return</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>w</span><span class='layout'>,</span> <span class='varid'>r</span><span class='layout'>)</span><span class='layout'>,</span> <span class='conid'>Just</span> <span class='varid'>tw</span><span class='layout'>)</span>
       <span class='conid'>Nothing</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>return</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>w</span><span class='layout'>,</span> <span class='varid'>r</span><span class='layout'>)</span><span class='layout'>,</span> <span class='conid'>Nothing</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='keyword'>case</span> <span class='varid'>mr</span> <span class='keyword'>of</span>
    <span class='conid'>Just</span> <span class='varid'>tr</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>withDisplay</span> <span class='varop'>$</span>
                 <span class='keyglyph'>\</span> <span class='varid'>d</span> <span class='keyglyph'>-&gt;</span>
                   <span class='keyword'>do</span> <span class='varid'>tw</span> <span class='keyglyph'>&lt;-</span> <span class='varid'>mkInputWindow</span> <span class='varid'>d</span> <span class='varid'>tr</span>
                      <span class='varid'>io</span> <span class='varop'>$</span> <span class='varid'>selectInput</span> <span class='varid'>d</span> <span class='varid'>tw</span> <span class='layout'>(</span><span class='varid'>exposureMask</span> <span class='varop'>.|.</span> <span class='varid'>buttonPressMask</span><span class='layout'>)</span>
                      <span class='varid'>showWindow</span> <span class='varid'>tw</span>
                      <span class='varid'>return</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>w</span><span class='layout'>,</span> <span class='varid'>r</span><span class='layout'>)</span><span class='layout'>,</span> <span class='conid'>Just</span> <span class='varid'>tw</span><span class='layout'>)</span>
    <span class='conid'>Nothing</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>return</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>w</span><span class='layout'>,</span> <span class='varid'>r</span><span class='layout'>)</span><span class='layout'>,</span> <span class='conid'>Nothing</span><span class='layout'>)</span></pre>
</div>

<div class="hint19 file3">
./XMonad/Actions/CycleWindows.hs:177:9: Warning: Use second<br/>
Found<br/>
<pre><span class='keyglyph'>\</span> <span class='layout'>(</span><span class='varid'>f</span><span class='layout'>,</span> <span class='varid'>s</span><span class='layout'>)</span> <span class='keyglyph'>-&gt;</span> <span class='layout'>(</span><span class='varid'>f</span><span class='layout'>,</span> <span class='varid'>reverse</span> <span class='varid'>s</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>second</span> <span class='varid'>reverse</span></pre>
</div>

<div class="hint0 file10">
./XMonad/Actions/SpawnOn.hs:85:10: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>io</span> <span class='varop'>$</span> <span class='varid'>getCommands</span></pre>
Why not<br/>
<pre><span class='definition'>io</span> <span class='varid'>getCommands</span></pre>
</div>

<div class="hint10 file10">
./XMonad/Actions/SpawnOn.hs:91:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>shellPromptHere</span> <span class='varid'>sp</span> <span class='keyglyph'>=</span> <span class='varid'>mkPrompt</span> <span class='layout'>(</span><span class='varid'>spawnHere</span> <span class='varid'>sp</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>shellPromptHere</span> <span class='keyglyph'>=</span> <span class='varid'>mkPrompt</span> <span class='varop'>.</span> <span class='varid'>spawnHere</span></pre>
</div>

<div class="hint10 file10">
./XMonad/Actions/SpawnOn.hs:96:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>shellPromptOn</span> <span class='varid'>sp</span> <span class='varid'>ws</span> <span class='keyglyph'>=</span> <span class='varid'>mkPrompt</span> <span class='layout'>(</span><span class='varid'>spawnOn</span> <span class='varid'>sp</span> <span class='varid'>ws</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>shellPromptOn</span> <span class='varid'>sp</span> <span class='keyglyph'>=</span> <span class='varid'>mkPrompt</span> <span class='varop'>.</span> <span class='varid'>spawnOn</span> <span class='varid'>sp</span></pre>
</div>

<div class="hint10 file9">
./XMonad/Actions/Search.hs:231:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>search</span> <span class='varid'>browser</span> <span class='varid'>site</span> <span class='varid'>query</span> <span class='keyglyph'>=</span> <span class='varid'>safeSpawn</span> <span class='varid'>browser</span> <span class='varop'>$</span> <span class='varid'>site</span> <span class='varid'>query</span></pre>
Why not<br/>
<pre><span class='definition'>search</span> <span class='varid'>browser</span> <span class='varid'>site</span> <span class='keyglyph'>=</span> <span class='varid'>safeSpawn</span> <span class='varid'>browser</span> <span class='varop'>.</span> <span class='varid'>site</span></pre>
</div>

<div class="hint11 file9">
./XMonad/Actions/Search.hs:246:47: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>site</span> <span class='varop'>++</span> <span class='layout'>(</span><span class='varid'>escape</span> <span class='varid'>s</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>site</span> <span class='varop'>++</span> <span class='varid'>escape</span> <span class='varid'>s</span></pre>
</div>

<div class="hint11 file9">
./XMonad/Actions/Search.hs:305:61: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>fst</span> <span class='varop'>$</span> <span class='varid'>break</span> <span class='layout'>(</span><span class='varop'>==</span> <span class='chr'>':'</span><span class='layout'>)</span> <span class='varid'>s</span><span class='layout'>)</span> <span class='varop'>`elem`</span> <span class='keyglyph'>[</span><span class='str'>"http"</span><span class='layout'>,</span> <span class='str'>"https"</span><span class='layout'>,</span> <span class='str'>"ftp"</span><span class='keyglyph'>]</span> <span class='keyword'>then</span> <span class='varid'>s</span>
  <span class='keyword'>else</span> <span class='layout'>(</span><span class='varid'>site</span> <span class='varid'>s</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>fst</span> <span class='varop'>$</span> <span class='varid'>break</span> <span class='layout'>(</span><span class='varop'>==</span> <span class='chr'>':'</span><span class='layout'>)</span> <span class='varid'>s</span><span class='layout'>)</span> <span class='varop'>`elem`</span> <span class='keyglyph'>[</span><span class='str'>"http"</span><span class='layout'>,</span> <span class='str'>"https"</span><span class='layout'>,</span> <span class='str'>"ftp"</span><span class='keyglyph'>]</span> <span class='keyword'>then</span> <span class='varid'>s</span>
  <span class='keyword'>else</span> <span class='varid'>site</span> <span class='varid'>s</span></pre>
</div>

<div class="hint2 file9">
./XMonad/Actions/Search.hs:311:1: Error: Redundant if<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='varid'>t</span> <span class='varop'>==</span> <span class='varid'>p</span> <span class='keyword'>then</span> <span class='varid'>hasPrefix</span> <span class='varid'>ts</span> <span class='varid'>ps</span> <span class='keyword'>else</span> <span class='conid'>False</span></pre>
Why not<br/>
<pre><span class='layout'>(</span><span class='varid'>t</span> <span class='varop'>==</span> <span class='varid'>p</span><span class='layout'>)</span> <span class='varop'>&amp;&amp;</span> <span class='varid'>hasPrefix</span> <span class='varid'>ts</span> <span class='varid'>ps</span></pre>
</div>

<div class="hint10 file9">
./XMonad/Actions/Search.hs:314:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>removeColonPrefix</span> <span class='varid'>str</span> <span class='keyglyph'>=</span> <span class='varid'>tail</span> <span class='varop'>$</span> <span class='varid'>snd</span> <span class='varop'>$</span> <span class='varid'>break</span> <span class='layout'>(</span><span class='varop'>==</span> <span class='chr'>':'</span><span class='layout'>)</span> <span class='varid'>str</span></pre>
Why not<br/>
<pre><span class='definition'>removeColonPrefix</span> <span class='keyglyph'>=</span> <span class='varid'>tail</span> <span class='varop'>.</span> <span class='varid'>snd</span> <span class='varop'>.</span> <span class='varid'>break</span> <span class='layout'>(</span><span class='varop'>==</span> <span class='chr'>':'</span><span class='layout'>)</span></pre>
</div>

<div class="hint0 file7">
./XMonad/Actions/Plane.hs:88:1: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>fromList</span> <span class='varop'>$</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>keyMask</span><span class='layout'>,</span> <span class='varid'>keySym</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>function</span> <span class='varid'>ln</span> <span class='varid'>limits</span> <span class='varid'>direction</span><span class='layout'>)</span> <span class='keyglyph'>|</span>
   <span class='layout'>(</span><span class='varid'>keySym</span><span class='layout'>,</span> <span class='varid'>direction</span><span class='layout'>)</span> <span class='keyglyph'>&lt;-</span> <span class='varid'>zip</span> <span class='keyglyph'>[</span><span class='varid'>xK_Left</span> <span class='keyglyph'>..</span> <span class='varid'>xK_Down</span><span class='keyglyph'>]</span> <span class='varop'>$</span> <span class='varid'>enumFrom</span> <span class='conid'>ToLeft</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='varid'>keyMask</span><span class='layout'>,</span> <span class='varid'>function</span><span class='layout'>)</span> <span class='keyglyph'>&lt;-</span> <span class='keyglyph'>[</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>planeMove</span><span class='layout'>)</span><span class='layout'>,</span>
                           <span class='layout'>(</span><span class='varid'>shiftMask</span> <span class='varop'>.|.</span> <span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>planeShift</span><span class='layout'>)</span><span class='keyglyph'>]</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='definition'>fromList</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>keyMask</span><span class='layout'>,</span> <span class='varid'>keySym</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>function</span> <span class='varid'>ln</span> <span class='varid'>limits</span> <span class='varid'>direction</span><span class='layout'>)</span> <span class='keyglyph'>|</span>
   <span class='layout'>(</span><span class='varid'>keySym</span><span class='layout'>,</span> <span class='varid'>direction</span><span class='layout'>)</span> <span class='keyglyph'>&lt;-</span> <span class='varid'>zip</span> <span class='keyglyph'>[</span><span class='varid'>xK_Left</span> <span class='keyglyph'>..</span> <span class='varid'>xK_Down</span><span class='keyglyph'>]</span> <span class='varop'>$</span> <span class='varid'>enumFrom</span> <span class='conid'>ToLeft</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='varid'>keyMask</span><span class='layout'>,</span> <span class='varid'>function</span><span class='layout'>)</span> <span class='keyglyph'>&lt;-</span> <span class='keyglyph'>[</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>planeMove</span><span class='layout'>)</span><span class='layout'>,</span>
                           <span class='layout'>(</span><span class='varid'>shiftMask</span> <span class='varop'>.|.</span> <span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>planeShift</span><span class='layout'>)</span><span class='keyglyph'>]</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint10 file7">
./XMonad/Actions/Plane.hs:168:17: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>mod_</span> <span class='varid'>columns_</span> <span class='keyglyph'>=</span> <span class='varid'>compose</span> <span class='varid'>line</span> <span class='varop'>$</span> <span class='varid'>mod</span> <span class='layout'>(</span><span class='varid'>f</span> <span class='varid'>column</span><span class='layout'>)</span> <span class='varid'>columns_</span></pre>
Why not<br/>
<pre><span class='definition'>mod_</span> <span class='keyglyph'>=</span> <span class='varid'>compose</span> <span class='varid'>line</span> <span class='varop'>.</span> <span class='varid'>mod</span> <span class='layout'>(</span><span class='varid'>f</span> <span class='varid'>column</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file15">
./XMonad/Actions/WindowNavigation.hs:126:9: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>mapWindows</span> <span class='varid'>f</span> <span class='varid'>ss</span> <span class='keyglyph'>=</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>mapWorkspace</span> <span class='layout'>(</span><span class='varid'>mapWindows'</span> <span class='varid'>f</span><span class='layout'>)</span> <span class='varid'>ss</span></pre>
Why not<br/>
<pre><span class='definition'>mapWindows</span> <span class='keyglyph'>=</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>mapWorkspace</span> <span class='varop'>.</span> <span class='varid'>mapWindows'</span></pre>
</div>

<div class="hint1 file15">
./XMonad/Actions/WindowNavigation.hs:139:51: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>windowRect</span> <span class='varid'>win</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>flip</span> <span class='varid'>whenJust</span> <span class='layout'>(</span><span class='varid'>setPosition</span> <span class='varid'>posRef</span> <span class='varid'>pos</span> <span class='varop'>.</span> <span class='varid'>snd</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>windowRect</span> <span class='varid'>win</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>flip</span> <span class='varid'>whenJust</span> <span class='layout'>(</span><span class='varid'>setPosition</span> <span class='varid'>posRef</span> <span class='varid'>pos</span> <span class='varop'>.</span> <span class='varid'>snd</span><span class='layout'>)</span></pre>
</div>

<div class="hint1 file15">
./XMonad/Actions/WindowNavigation.hs:143:44: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>currentPosition</span> <span class='varid'>posRef</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>f</span> <span class='varid'>win</span></pre>
Why not<br/>
<pre><span class='definition'>currentPosition</span> <span class='varid'>posRef</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>f</span> <span class='varid'>win</span></pre>
</div>

<div class="hint0 file15">
./XMonad/Actions/WindowNavigation.hs:193:33: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>Just</span> <span class='varop'>$</span> <span class='layout'>(</span><span class='varid'>win</span><span class='layout'>,</span> <span class='conid'>Rectangle</span> <span class='varid'>x</span> <span class='varid'>y</span> <span class='layout'>(</span><span class='varid'>w</span> <span class='varop'>+</span> <span class='num'>2</span> <span class='varop'>*</span> <span class='varid'>bw</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>h</span> <span class='varop'>+</span> <span class='num'>2</span> <span class='varop'>*</span> <span class='varid'>bw</span><span class='layout'>)</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='conid'>Just</span> <span class='layout'>(</span><span class='varid'>win</span><span class='layout'>,</span> <span class='conid'>Rectangle</span> <span class='varid'>x</span> <span class='varid'>y</span> <span class='layout'>(</span><span class='varid'>w</span> <span class='varop'>+</span> <span class='num'>2</span> <span class='varop'>*</span> <span class='varid'>bw</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>h</span> <span class='varop'>+</span> <span class='num'>2</span> <span class='varop'>*</span> <span class='varid'>bw</span><span class='layout'>)</span><span class='layout'>)</span></pre>
</div>

<div class="hint17 file13">
./XMonad/Actions/UpdatePointer.hs:86:1: Warning: Use guards<br/>
Found<br/>
<pre><span class='definition'>moveWithin</span> <span class='varid'>now</span> <span class='varid'>lower</span> <span class='varid'>upper</span>
  <span class='keyglyph'>=</span> <span class='keyword'>if</span> <span class='varid'>now</span> <span class='varop'>&lt;</span> <span class='varid'>lower</span> <span class='keyword'>then</span> <span class='varid'>lower</span> <span class='keyword'>else</span> <span class='keyword'>if</span> <span class='varid'>now</span> <span class='varop'>&gt;</span> <span class='varid'>upper</span> <span class='keyword'>then</span> <span class='varid'>upper</span> <span class='keyword'>else</span> <span class='varid'>now</span></pre>
Why not<br/>
<pre><span class='definition'>moveWithin</span> <span class='varid'>now</span> <span class='varid'>lower</span> <span class='varid'>upper</span>
  <span class='keyglyph'>|</span> <span class='varid'>now</span> <span class='varop'>&lt;</span> <span class='varid'>lower</span> <span class='keyglyph'>=</span> <span class='varid'>lower</span>
  <span class='keyglyph'>|</span> <span class='varid'>now</span> <span class='varop'>&gt;</span> <span class='varid'>upper</span> <span class='keyglyph'>=</span> <span class='varid'>upper</span>
  <span class='keyglyph'>|</span> <span class='varid'>otherwise</span> <span class='keyglyph'>=</span> <span class='varid'>now</span></pre>
</div>

<div class="hint10 file1">
./XMonad/Actions/CopyWindow.hs:89:11: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>insertUp'</span> <span class='varid'>a</span> <span class='varid'>s</span>
  <span class='keyglyph'>=</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>modify</span> <span class='layout'>(</span><span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span> <span class='varid'>a</span> <span class='conid'>[]</span> <span class='conid'>[]</span><span class='layout'>)</span>
      <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span> <span class='varid'>t</span> <span class='varid'>l</span> <span class='varid'>r</span><span class='layout'>)</span> <span class='keyglyph'>-&gt;</span>
         <span class='keyword'>if</span> <span class='varid'>a</span> <span class='varop'>`elem`</span> <span class='varid'>t</span> <span class='conop'>:</span> <span class='varid'>l</span> <span class='varop'>++</span> <span class='varid'>r</span> <span class='keyword'>then</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span> <span class='varid'>t</span> <span class='varid'>l</span> <span class='varid'>r</span> <span class='keyword'>else</span>
           <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span> <span class='varid'>a</span> <span class='layout'>(</span><span class='conid'>L</span><span class='varop'>.</span><span class='varid'>delete</span> <span class='varid'>a</span> <span class='varid'>l</span><span class='layout'>)</span> <span class='layout'>(</span><span class='conid'>L</span><span class='varop'>.</span><span class='varid'>delete</span> <span class='varid'>a</span> <span class='layout'>(</span><span class='varid'>t</span> <span class='conop'>:</span> <span class='varid'>r</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>)</span>
      <span class='varid'>s</span></pre>
Why not<br/>
<pre><span class='definition'>insertUp'</span> <span class='varid'>a</span>
  <span class='keyglyph'>=</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>modify</span> <span class='layout'>(</span><span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span> <span class='varid'>a</span> <span class='conid'>[]</span> <span class='conid'>[]</span><span class='layout'>)</span>
      <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span> <span class='varid'>t</span> <span class='varid'>l</span> <span class='varid'>r</span><span class='layout'>)</span> <span class='keyglyph'>-&gt;</span>
         <span class='keyword'>if</span> <span class='varid'>a</span> <span class='varop'>`elem`</span> <span class='varid'>t</span> <span class='conop'>:</span> <span class='varid'>l</span> <span class='varop'>++</span> <span class='varid'>r</span> <span class='keyword'>then</span> <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span> <span class='varid'>t</span> <span class='varid'>l</span> <span class='varid'>r</span> <span class='keyword'>else</span>
           <span class='conid'>Just</span> <span class='varop'>$</span> <span class='conid'>W</span><span class='varop'>.</span><span class='conid'>Stack</span> <span class='varid'>a</span> <span class='layout'>(</span><span class='conid'>L</span><span class='varop'>.</span><span class='varid'>delete</span> <span class='varid'>a</span> <span class='varid'>l</span><span class='layout'>)</span> <span class='layout'>(</span><span class='conid'>L</span><span class='varop'>.</span><span class='varid'>delete</span> <span class='varid'>a</span> <span class='layout'>(</span><span class='varid'>t</span> <span class='conop'>:</span> <span class='varid'>r</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file8">
./XMonad/Actions/RotSlaves.hs:43:51: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>tail</span> <span class='varid'>l</span><span class='layout'>)</span> <span class='varop'>++</span> <span class='keyglyph'>[</span><span class='varid'>head</span> <span class='varid'>l</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='definition'>tail</span> <span class='varid'>l</span> <span class='varop'>++</span> <span class='keyglyph'>[</span><span class='varid'>head</span> <span class='varid'>l</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint13 file8">
./XMonad/Actions/RotSlaves.hs:44:51: Warning: Use :<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='varid'>last</span> <span class='varid'>l</span><span class='keyglyph'>]</span> <span class='varop'>++</span> <span class='layout'>(</span><span class='varid'>init</span> <span class='varid'>l</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='layout'>(</span><span class='varid'>last</span> <span class='varid'>l</span><span class='layout'>)</span> <span class='conop'>:</span> <span class='layout'>(</span><span class='varid'>init</span> <span class='varid'>l</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file8">
./XMonad/Actions/RotSlaves.hs:44:51: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='varid'>last</span> <span class='varid'>l</span><span class='keyglyph'>]</span> <span class='varop'>++</span> <span class='layout'>(</span><span class='varid'>init</span> <span class='varid'>l</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='keyglyph'>[</span><span class='varid'>last</span> <span class='varid'>l</span><span class='keyglyph'>]</span> <span class='varop'>++</span> <span class='varid'>init</span> <span class='varid'>l</span></pre>
</div>

<div class="hint11 file8">
./XMonad/Actions/RotSlaves.hs:52:12: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>master</span> <span class='conop'>:</span> <span class='layout'>(</span><span class='varid'>f</span> <span class='varid'>ws</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>master</span> <span class='conop'>:</span> <span class='varid'>f</span> <span class='varid'>ws</span></pre>
</div>

<div class="hint11 file8">
./XMonad/Actions/RotSlaves.hs:56:45: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>tail</span> <span class='varid'>l</span><span class='layout'>)</span> <span class='varop'>++</span> <span class='keyglyph'>[</span><span class='varid'>head</span> <span class='varid'>l</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='definition'>tail</span> <span class='varid'>l</span> <span class='varop'>++</span> <span class='keyglyph'>[</span><span class='varid'>head</span> <span class='varid'>l</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint13 file8">
./XMonad/Actions/RotSlaves.hs:57:45: Warning: Use :<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='varid'>last</span> <span class='varid'>l</span><span class='keyglyph'>]</span> <span class='varop'>++</span> <span class='layout'>(</span><span class='varid'>init</span> <span class='varid'>l</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='layout'>(</span><span class='varid'>last</span> <span class='varid'>l</span><span class='layout'>)</span> <span class='conop'>:</span> <span class='layout'>(</span><span class='varid'>init</span> <span class='varid'>l</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file8">
./XMonad/Actions/RotSlaves.hs:57:45: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='varid'>last</span> <span class='varid'>l</span><span class='keyglyph'>]</span> <span class='varop'>++</span> <span class='layout'>(</span><span class='varid'>init</span> <span class='varid'>l</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='keyglyph'>[</span><span class='varid'>last</span> <span class='varid'>l</span><span class='keyglyph'>]</span> <span class='varop'>++</span> <span class='varid'>init</span> <span class='varid'>l</span></pre>
</div>

<div class="hint18 file12">
./XMonad/Actions/TagWindows.hs:78:28: Warning: Use liftM<br/>
Found<br/>
<pre><span class='definition'>catch</span>
  <span class='layout'>(</span><span class='varid'>internAtom</span> <span class='varid'>d</span> <span class='str'>"_XMONAD_TAGS"</span> <span class='conid'>False</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>getTextProperty</span> <span class='varid'>d</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;=</span>
     <span class='varid'>wcTextPropertyToTextList</span> <span class='varid'>d</span><span class='layout'>)</span>
  <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='keyword'>_</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>return</span> <span class='keyglyph'>[</span><span class='conid'>[]</span><span class='keyglyph'>]</span><span class='layout'>)</span>
  <span class='varop'>&gt;&gt;=</span> <span class='varid'>return</span> <span class='varop'>.</span> <span class='varid'>words</span> <span class='varop'>.</span> <span class='varid'>unwords</span></pre>
Why not<br/>
<pre><span class='definition'>liftM</span> <span class='layout'>(</span><span class='varid'>words</span> <span class='varop'>.</span> <span class='varid'>unwords</span><span class='layout'>)</span>
  <span class='layout'>(</span><span class='varid'>catch</span>
     <span class='layout'>(</span><span class='varid'>internAtom</span> <span class='varid'>d</span> <span class='str'>"_XMONAD_TAGS"</span> <span class='conid'>False</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>getTextProperty</span> <span class='varid'>d</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;=</span>
        <span class='varid'>wcTextPropertyToTextList</span> <span class='varid'>d</span><span class='layout'>)</span>
     <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='keyword'>_</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>return</span> <span class='keyglyph'>[</span><span class='conid'>[]</span><span class='keyglyph'>]</span><span class='layout'>)</span><span class='layout'>)</span></pre>
</div>

<div class="hint8 file12">
./XMonad/Actions/TagWindows.hs:91:1: Error: Use when<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>s</span> <span class='varop'>`notElem`</span> <span class='varid'>tags</span><span class='layout'>)</span> <span class='keyword'>then</span> <span class='varid'>setTags</span> <span class='layout'>(</span><span class='varid'>s</span> <span class='conop'>:</span> <span class='varid'>tags</span><span class='layout'>)</span> <span class='varid'>w</span> <span class='keyword'>else</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
Why not<br/>
<pre><span class='definition'>when</span> <span class='layout'>(</span><span class='varid'>s</span> <span class='varop'>`notElem`</span> <span class='varid'>tags</span><span class='layout'>)</span> <span class='varop'>$</span> <span class='varid'>setTags</span> <span class='layout'>(</span><span class='varid'>s</span> <span class='conop'>:</span> <span class='varid'>tags</span><span class='layout'>)</span> <span class='varid'>w</span></pre>
</div>

<div class="hint11 file12">
./XMonad/Actions/TagWindows.hs:91:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>s</span> <span class='varop'>`notElem`</span> <span class='varid'>tags</span><span class='layout'>)</span> <span class='keyword'>then</span> <span class='varid'>setTags</span> <span class='layout'>(</span><span class='varid'>s</span> <span class='conop'>:</span> <span class='varid'>tags</span><span class='layout'>)</span> <span class='varid'>w</span> <span class='keyword'>else</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
Why not<br/>
<pre><span class='keyword'>if</span> <span class='varid'>s</span> <span class='varop'>`notElem`</span> <span class='varid'>tags</span> <span class='keyword'>then</span> <span class='varid'>setTags</span> <span class='layout'>(</span><span class='varid'>s</span> <span class='conop'>:</span> <span class='varid'>tags</span><span class='layout'>)</span> <span class='varid'>w</span> <span class='keyword'>else</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
</div>

<div class="hint10 file12">
./XMonad/Actions/TagWindows.hs:141:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>withTaggedP</span> <span class='varid'>t</span> <span class='varid'>f</span> <span class='keyglyph'>=</span> <span class='varid'>withTagged'</span> <span class='varid'>t</span> <span class='layout'>(</span><span class='varid'>winMap</span> <span class='varid'>f</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>withTaggedP</span> <span class='varid'>t</span> <span class='keyglyph'>=</span> <span class='varid'>withTagged'</span> <span class='varid'>t</span> <span class='varop'>.</span> <span class='varid'>winMap</span></pre>
</div>

<div class="hint10 file12">
./XMonad/Actions/TagWindows.hs:142:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>withTaggedGlobalP</span> <span class='varid'>t</span> <span class='varid'>f</span> <span class='keyglyph'>=</span> <span class='varid'>withTaggedGlobal'</span> <span class='varid'>t</span> <span class='layout'>(</span><span class='varid'>winMap</span> <span class='varid'>f</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>withTaggedGlobalP</span> <span class='varid'>t</span> <span class='keyglyph'>=</span> <span class='varid'>withTaggedGlobal'</span> <span class='varid'>t</span> <span class='varop'>.</span> <span class='varid'>winMap</span></pre>
</div>

<div class="hint10 file12">
./XMonad/Actions/TagWindows.hs:148:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>withTagged</span> <span class='varid'>t</span> <span class='varid'>f</span> <span class='keyglyph'>=</span> <span class='varid'>withTagged'</span> <span class='varid'>t</span> <span class='layout'>(</span><span class='varid'>mapM_</span> <span class='varid'>f</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>withTagged</span> <span class='varid'>t</span> <span class='keyglyph'>=</span> <span class='varid'>withTagged'</span> <span class='varid'>t</span> <span class='varop'>.</span> <span class='varid'>mapM_</span></pre>
</div>

<div class="hint10 file12">
./XMonad/Actions/TagWindows.hs:149:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>withTaggedGlobal</span> <span class='varid'>t</span> <span class='varid'>f</span> <span class='keyglyph'>=</span> <span class='varid'>withTaggedGlobal'</span> <span class='varid'>t</span> <span class='layout'>(</span><span class='varid'>mapM_</span> <span class='varid'>f</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>withTaggedGlobal</span> <span class='varid'>t</span> <span class='keyglyph'>=</span> <span class='varid'>withTaggedGlobal'</span> <span class='varid'>t</span> <span class='varop'>.</span> <span class='varid'>mapM_</span></pre>
</div>

<div class="hint3 file12">
./XMonad/Actions/TagWindows.hs:155:1: Error: Use concatMap<br/>
Found<br/>
<pre><span class='definition'>concat</span> <span class='varop'>.</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>integrate'</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>stack</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>workspaces</span></pre>
Why not<br/>
<pre><span class='definition'>concatMap</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>integrate'</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>stack</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>workspaces</span></pre>
</div>

<div class="hint11 file12">
./XMonad/Actions/TagWindows.hs:165:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>current</span> <span class='varid'>s</span><span class='layout'>)</span> <span class='conop'>:</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>visible</span> <span class='varid'>s</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>current</span> <span class='varid'>s</span> <span class='conop'>:</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>visible</span> <span class='varid'>s</span></pre>
</div>

<div class="hint18 file12">
./XMonad/Actions/TagWindows.hs:181:1: Warning: Use liftM<br/>
Found<br/>
<pre><span class='definition'>gets</span>
  <span class='layout'>(</span><span class='varid'>concat</span> <span class='varop'>.</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>integrate'</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>stack</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>workspaces</span> <span class='varop'>.</span> <span class='varid'>windowset</span><span class='layout'>)</span>
  <span class='varop'>&gt;&gt;=</span> <span class='varid'>mapM</span> <span class='varid'>getTags</span>
  <span class='varop'>&gt;&gt;=</span> <span class='varid'>return</span> <span class='varop'>.</span> <span class='varid'>nub</span> <span class='varop'>.</span> <span class='varid'>concat</span></pre>
Why not<br/>
<pre><span class='definition'>liftM</span> <span class='layout'>(</span><span class='varid'>nub</span> <span class='varop'>.</span> <span class='varid'>concat</span><span class='layout'>)</span>
  <span class='layout'>(</span><span class='varid'>gets</span>
     <span class='layout'>(</span><span class='varid'>concat</span> <span class='varop'>.</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>integrate'</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>stack</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>workspaces</span> <span class='varop'>.</span> <span class='varid'>windowset</span><span class='layout'>)</span>
     <span class='varop'>&gt;&gt;=</span> <span class='varid'>mapM</span> <span class='varid'>getTags</span><span class='layout'>)</span></pre>
</div>

<div class="hint3 file12">
./XMonad/Actions/TagWindows.hs:181:1: Error: Use concatMap<br/>
Found<br/>
<pre><span class='definition'>concat</span> <span class='varop'>.</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>integrate'</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>stack</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>workspaces</span> <span class='varop'>.</span> <span class='varid'>windowset</span></pre>
Why not<br/>
<pre><span class='definition'>concatMap</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>integrate'</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>stack</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>workspaces</span> <span class='varop'>.</span> <span class='varid'>windowset</span></pre>
</div>

<div class="hint8 file12">
./XMonad/Actions/TagWindows.hs:187:1: Error: Use when<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>sc</span> <span class='varop'>/=</span> <span class='conid'>[]</span><span class='layout'>)</span> <span class='keyword'>then</span>
  <span class='varid'>mkXPrompt</span> <span class='conid'>TagPrompt</span> <span class='varid'>c</span> <span class='layout'>(</span><span class='varid'>mkComplFunFromList'</span> <span class='varid'>sc</span><span class='layout'>)</span>
    <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>s</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>withFocused</span> <span class='layout'>(</span><span class='varid'>delTag</span> <span class='varid'>s</span><span class='layout'>)</span><span class='layout'>)</span>
  <span class='keyword'>else</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
Why not<br/>
<pre><span class='definition'>when</span> <span class='layout'>(</span><span class='varid'>sc</span> <span class='varop'>/=</span> <span class='conid'>[]</span><span class='layout'>)</span> <span class='varop'>$</span>
  <span class='varid'>mkXPrompt</span> <span class='conid'>TagPrompt</span> <span class='varid'>c</span> <span class='layout'>(</span><span class='varid'>mkComplFunFromList'</span> <span class='varid'>sc</span><span class='layout'>)</span>
    <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>s</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>withFocused</span> <span class='layout'>(</span><span class='varid'>delTag</span> <span class='varid'>s</span><span class='layout'>)</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file12">
./XMonad/Actions/TagWindows.hs:187:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>sc</span> <span class='varop'>/=</span> <span class='conid'>[]</span><span class='layout'>)</span> <span class='keyword'>then</span>
  <span class='varid'>mkXPrompt</span> <span class='conid'>TagPrompt</span> <span class='varid'>c</span> <span class='layout'>(</span><span class='varid'>mkComplFunFromList'</span> <span class='varid'>sc</span><span class='layout'>)</span>
    <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>s</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>withFocused</span> <span class='layout'>(</span><span class='varid'>delTag</span> <span class='varid'>s</span><span class='layout'>)</span><span class='layout'>)</span>
  <span class='keyword'>else</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
Why not<br/>
<pre><span class='keyword'>if</span> <span class='varid'>sc</span> <span class='varop'>/=</span> <span class='conid'>[]</span> <span class='keyword'>then</span>
  <span class='varid'>mkXPrompt</span> <span class='conid'>TagPrompt</span> <span class='varid'>c</span> <span class='layout'>(</span><span class='varid'>mkComplFunFromList'</span> <span class='varid'>sc</span><span class='layout'>)</span>
    <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>s</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>withFocused</span> <span class='layout'>(</span><span class='varid'>delTag</span> <span class='varid'>s</span><span class='layout'>)</span><span class='layout'>)</span>
  <span class='keyword'>else</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
</div>

<div class="hint10 file0">
./XMonad/Actions/Commands.hs:63:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>commandMap</span> <span class='varid'>c</span> <span class='keyglyph'>=</span> <span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span> <span class='varid'>c</span></pre>
Why not<br/>
<pre><span class='definition'>commandMap</span> <span class='keyglyph'>=</span> <span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span></pre>
</div>

<div class="hint0 file0">
./XMonad/Actions/Commands.hs:86:5: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>windows</span> <span class='varop'>$</span> <span class='varid'>focusUp</span></pre>
Why not<br/>
<pre><span class='definition'>windows</span> <span class='varid'>focusUp</span></pre>
</div>

<div class="hint0 file0">
./XMonad/Actions/Commands.hs:86:5: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>windows</span> <span class='varop'>$</span> <span class='varid'>focusDown</span></pre>
Why not<br/>
<pre><span class='definition'>windows</span> <span class='varid'>focusDown</span></pre>
</div>

<div class="hint0 file0">
./XMonad/Actions/Commands.hs:86:5: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>windows</span> <span class='varop'>$</span> <span class='varid'>swapUp</span></pre>
Why not<br/>
<pre><span class='definition'>windows</span> <span class='varid'>swapUp</span></pre>
</div>

<div class="hint0 file0">
./XMonad/Actions/Commands.hs:86:5: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>windows</span> <span class='varop'>$</span> <span class='varid'>swapDown</span></pre>
Why not<br/>
<pre><span class='definition'>windows</span> <span class='varid'>swapDown</span></pre>
</div>

<div class="hint0 file0">
./XMonad/Actions/Commands.hs:86:5: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>windows</span> <span class='varop'>$</span> <span class='varid'>swapMaster</span></pre>
Why not<br/>
<pre><span class='definition'>windows</span> <span class='varid'>swapMaster</span></pre>
</div>

<div class="hint10 file11">
./XMonad/Actions/Submap.hs:61:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>submap</span> <span class='varid'>keys</span> <span class='keyglyph'>=</span> <span class='varid'>submapDefault</span> <span class='layout'>(</span><span class='varid'>return</span> <span class='conid'>()</span><span class='layout'>)</span> <span class='varid'>keys</span></pre>
Why not<br/>
<pre><span class='definition'>submap</span> <span class='keyglyph'>=</span> <span class='varid'>submapDefault</span> <span class='layout'>(</span><span class='varid'>return</span> <span class='conid'>()</span><span class='layout'>)</span></pre>
</div>

<div class="hint4 file11">
./XMonad/Actions/Submap.hs:65:1: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='varid'>def</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='varid'>def</span></pre>
</div>

<div class="hint18 file4">
./XMonad/Actions/FlexibleManipulate.hs:81:19: Warning: Use liftM<br/>
Found<br/>
<pre><span class='definition'>getWindowAttributes</span> <span class='varid'>d</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>return</span> <span class='varop'>.</span> <span class='varid'>winAttrs</span></pre>
Why not<br/>
<pre><span class='definition'>liftM</span> <span class='varid'>winAttrs</span> <span class='layout'>(</span><span class='varid'>getWindowAttributes</span> <span class='varid'>d</span> <span class='varid'>w</span><span class='layout'>)</span></pre>
</div>

<div class="hint18 file4">
./XMonad/Actions/FlexibleManipulate.hs:83:13: Warning: Use liftM<br/>
Found<br/>
<pre><span class='definition'>queryPointer</span> <span class='varid'>d</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>return</span> <span class='varop'>.</span> <span class='varid'>pointerPos</span></pre>
Why not<br/>
<pre><span class='definition'>liftM</span> <span class='varid'>pointerPos</span> <span class='layout'>(</span><span class='varid'>queryPointer</span> <span class='varid'>d</span> <span class='varid'>w</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file4">
./XMonad/Actions/FlexibleManipulate.hs:114:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>x</span><span class='layout'>,</span> <span class='varid'>y</span><span class='layout'>)</span> <span class='conop'>:</span> <span class='layout'>(</span><span class='varid'>pairUp</span> <span class='varid'>xs</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='layout'>(</span><span class='varid'>x</span><span class='layout'>,</span> <span class='varid'>y</span><span class='layout'>)</span> <span class='conop'>:</span> <span class='varid'>pairUp</span> <span class='varid'>xs</span></pre>
</div>

<div class="hint10 file14">
./XMonad/Actions/WindowBringer.hs:68:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>actionMenu</span> <span class='varid'>action</span> <span class='keyglyph'>=</span> <span class='varid'>actionMenu'</span> <span class='str'>"dmenu"</span> <span class='varid'>action</span></pre>
Why not<br/>
<pre><span class='definition'>actionMenu</span> <span class='keyglyph'>=</span> <span class='varid'>actionMenu'</span> <span class='str'>"dmenu"</span></pre>
</div>

<div class="hint10 file14">
./XMonad/Actions/WindowBringer.hs:74:7: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>menuMapFunction</span> <span class='varid'>selectionMap</span> <span class='keyglyph'>=</span> <span class='varid'>menuMap</span> <span class='varid'>menuCmd</span> <span class='varid'>selectionMap</span></pre>
Why not<br/>
<pre><span class='definition'>menuMapFunction</span> <span class='keyglyph'>=</span> <span class='varid'>menuMap</span> <span class='varid'>menuCmd</span></pre>
</div>

<div class="hint11 file2">
./XMonad/Actions/CycleWS.hs:221:5: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='comment'>-</span> <span class='varid'>d</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='comment'>-</span> <span class='varid'>d</span></pre>
</div>

<div class="hint0 file2">
./XMonad/Actions/CycleWS.hs:232:9: Error: Redundant $<br/>
Found<br/>
<pre><span class='definition'>filter</span> <span class='varid'>wsPred</span> <span class='varop'>$</span> <span class='varid'>pivoted</span></pre>
Why not<br/>
<pre><span class='definition'>filter</span> <span class='varid'>wsPred</span> <span class='varid'>pivoted</span></pre>
</div>

<div class="hint10 file2">
./XMonad/Actions/CycleWS.hs:243:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>findWsIndex</span> <span class='varid'>ws</span> <span class='varid'>wss</span> <span class='keyglyph'>=</span> <span class='varid'>findIndex</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varop'>==</span> <span class='varid'>tag</span> <span class='varid'>ws</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='varid'>tag</span><span class='layout'>)</span> <span class='varid'>wss</span></pre>
Why not<br/>
<pre><span class='definition'>findWsIndex</span> <span class='varid'>ws</span> <span class='keyglyph'>=</span> <span class='varid'>findIndex</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varop'>==</span> <span class='varid'>tag</span> <span class='varid'>ws</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='varid'>tag</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file5">
./XMonad/Actions/FocusNth.hs:41:33: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>length</span> <span class='layout'>(</span><span class='varid'>ls</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>length</span> <span class='varid'>ls</span></pre>
</div>

<div class="hint11 file5">
./XMonad/Actions/FocusNth.hs:41:33: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>length</span> <span class='layout'>(</span><span class='varid'>rs</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>length</span> <span class='varid'>rs</span></pre>
</div>

<div class="hint9 file28">
./XMonad/Hooks/ServerMode.hs:92:18: Error: Use zipWith<br/>
Found<br/>
<pre><span class='definition'>map</span> <span class='layout'>(</span><span class='varid'>uncurry</span> <span class='layout'>(</span><span class='varop'>++</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varop'>.</span>
  <span class='varid'>zip</span> <span class='layout'>(</span><span class='varid'>map</span> <span class='varid'>show</span> <span class='layout'>(</span><span class='keyglyph'>[</span><span class='num'>1</span> <span class='keyglyph'>..</span><span class='keyglyph'>]</span> <span class='keyglyph'>::</span> <span class='keyglyph'>[</span><span class='conid'>Int</span><span class='keyglyph'>]</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varop'>++</span><span class='layout'>)</span> <span class='str'>" - "</span> <span class='varop'>.</span> <span class='varid'>fst</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>zipWith</span> <span class='layout'>(</span><span class='varop'>++</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>map</span> <span class='varid'>show</span> <span class='layout'>(</span><span class='keyglyph'>[</span><span class='num'>1</span> <span class='keyglyph'>..</span><span class='keyglyph'>]</span> <span class='keyglyph'>::</span> <span class='keyglyph'>[</span><span class='conid'>Int</span><span class='keyglyph'>]</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varop'>.</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='layout'>(</span><span class='varop'>++</span><span class='layout'>)</span> <span class='str'>" - "</span> <span class='varop'>.</span> <span class='varid'>fst</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file29">
./XMonad/Hooks/SetWMName.hs:75:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>latin1StringToCCharList</span> <span class='varid'>str</span> <span class='keyglyph'>=</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varop'>.</span> <span class='varid'>ord</span><span class='layout'>)</span> <span class='varid'>str</span></pre>
Why not<br/>
<pre><span class='definition'>latin1StringToCCharList</span> <span class='keyglyph'>=</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='varid'>fromIntegral</span> <span class='varop'>.</span> <span class='varid'>ord</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file26">
./XMonad/Hooks/ManageDocks.hs:156:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>avoidStrutsOn</span> <span class='varid'>ss</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='layout'>(</span><span class='conid'>AvoidStruts</span> <span class='varid'>ss</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>avoidStrutsOn</span> <span class='keyglyph'>=</span> <span class='conid'>ModifiedLayout</span> <span class='varop'>.</span> <span class='conid'>AvoidStruts</span></pre>
</div>

<div class="hint14 file26">
./XMonad/Hooks/ManageDocks.hs:169:5: Warning: Use &gt;&gt;=<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>nr</span> <span class='keyglyph'>&lt;-</span> <span class='varid'>fmap</span> <span class='layout'>(</span><span class='varop'>$</span> <span class='varid'>r</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>calcGap</span> <span class='varid'>ss</span><span class='layout'>)</span>
   <span class='varid'>runLayout</span> <span class='varid'>w</span> <span class='varid'>nr</span></pre>
Why not<br/>
<pre><span class='definition'>fmap</span> <span class='layout'>(</span><span class='varop'>$</span> <span class='varid'>r</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>calcGap</span> <span class='varid'>ss</span><span class='layout'>)</span> <span class='varop'>&gt;&gt;=</span> <span class='varid'>runLayout</span> <span class='varid'>w</span></pre>
</div>

<div class="hint10 file30">
./XMonad/Hooks/UrgencyHook.hs:202:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>withUrgencyHook</span> <span class='varid'>hook</span> <span class='varid'>conf</span>
  <span class='keyglyph'>=</span> <span class='varid'>withUrgencyHookC</span> <span class='varid'>hook</span> <span class='varid'>urgencyConfig</span> <span class='varid'>conf</span></pre>
Why not<br/>
<pre><span class='definition'>withUrgencyHook</span> <span class='varid'>hook</span> <span class='keyglyph'>=</span> <span class='varid'>withUrgencyHookC</span> <span class='varid'>hook</span> <span class='varid'>urgencyConfig</span></pre>
</div>

<div class="hint10 file30">
./XMonad/Hooks/UrgencyHook.hs:283:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>adjustUrgents</span> <span class='varid'>f</span> <span class='keyglyph'>=</span> <span class='varid'>io</span> <span class='varop'>$</span> <span class='varid'>modifyIORef</span> <span class='varid'>urgents</span> <span class='varid'>f</span></pre>
Why not<br/>
<pre><span class='definition'>adjustUrgents</span> <span class='keyglyph'>=</span> <span class='varid'>io</span> <span class='varop'>.</span> <span class='varid'>modifyIORef</span> <span class='varid'>urgents</span></pre>
</div>

<div class="hint10 file30">
./XMonad/Hooks/UrgencyHook.hs:304:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>adjustReminders</span> <span class='varid'>f</span> <span class='keyglyph'>=</span> <span class='varid'>io</span> <span class='varop'>$</span> <span class='varid'>modifyIORef</span> <span class='varid'>reminders</span> <span class='varid'>f</span></pre>
Why not<br/>
<pre><span class='definition'>adjustReminders</span> <span class='keyglyph'>=</span> <span class='varid'>io</span> <span class='varop'>.</span> <span class='varid'>modifyIORef</span> <span class='varid'>reminders</span></pre>
</div>

<div class="hint1 file30">
./XMonad/Hooks/UrgencyHook.hs:327:7: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>when</span> <span class='layout'>(</span><span class='varid'>t</span> <span class='varop'>==</span> <span class='varid'>propertyNotify</span> <span class='varop'>&amp;&amp;</span> <span class='varid'>a</span> <span class='varop'>==</span> <span class='varid'>wM_HINTS</span><span class='layout'>)</span> <span class='varop'>$</span>
     <span class='varid'>withDisplay</span> <span class='varop'>$</span>
       <span class='keyglyph'>\</span> <span class='varid'>dpy</span> <span class='keyglyph'>-&gt;</span>
         <span class='keyword'>do</span> <span class='conid'>WMHints</span><span class='layout'>{</span><span class='varid'>wmh_flags</span> <span class='keyglyph'>=</span> <span class='varid'>flags</span><span class='layout'>}</span> <span class='keyglyph'>&lt;-</span> <span class='varid'>io</span> <span class='varop'>$</span> <span class='varid'>getWMHints</span> <span class='varid'>dpy</span> <span class='varid'>w</span>
            <span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>testBit</span> <span class='varid'>flags</span> <span class='varid'>urgencyHintBit</span><span class='layout'>)</span> <span class='keyword'>then</span>
              <span class='keyword'>do</span> <span class='varid'>adjustUrgents</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>ws</span> <span class='keyglyph'>-&gt;</span> <span class='keyword'>if</span> <span class='varid'>elem</span> <span class='varid'>w</span> <span class='varid'>ws</span> <span class='keyword'>then</span> <span class='varid'>ws</span> <span class='keyword'>else</span> <span class='varid'>w</span> <span class='conop'>:</span> <span class='varid'>ws</span><span class='layout'>)</span>
                 <span class='varid'>callUrgencyHook</span> <span class='varid'>wuh</span> <span class='varid'>w</span>
              <span class='keyword'>else</span> <span class='varid'>clearUrgency</span> <span class='varid'>w</span>
            <span class='varid'>userCodeDef</span> <span class='conid'>()</span> <span class='varop'>=&lt;&lt;</span> <span class='varid'>asks</span> <span class='layout'>(</span><span class='varid'>logHook</span> <span class='varop'>.</span> <span class='varid'>config</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>when</span> <span class='layout'>(</span><span class='varid'>t</span> <span class='varop'>==</span> <span class='varid'>propertyNotify</span> <span class='varop'>&amp;&amp;</span> <span class='varid'>a</span> <span class='varop'>==</span> <span class='varid'>wM_HINTS</span><span class='layout'>)</span> <span class='varop'>$</span>
  <span class='varid'>withDisplay</span> <span class='varop'>$</span>
    <span class='keyglyph'>\</span> <span class='varid'>dpy</span> <span class='keyglyph'>-&gt;</span>
      <span class='keyword'>do</span> <span class='conid'>WMHints</span><span class='layout'>{</span><span class='varid'>wmh_flags</span> <span class='keyglyph'>=</span> <span class='varid'>flags</span><span class='layout'>}</span> <span class='keyglyph'>&lt;-</span> <span class='varid'>io</span> <span class='varop'>$</span> <span class='varid'>getWMHints</span> <span class='varid'>dpy</span> <span class='varid'>w</span>
         <span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>testBit</span> <span class='varid'>flags</span> <span class='varid'>urgencyHintBit</span><span class='layout'>)</span> <span class='keyword'>then</span>
           <span class='keyword'>do</span> <span class='varid'>adjustUrgents</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>ws</span> <span class='keyglyph'>-&gt;</span> <span class='keyword'>if</span> <span class='varid'>elem</span> <span class='varid'>w</span> <span class='varid'>ws</span> <span class='keyword'>then</span> <span class='varid'>ws</span> <span class='keyword'>else</span> <span class='varid'>w</span> <span class='conop'>:</span> <span class='varid'>ws</span><span class='layout'>)</span>
              <span class='varid'>callUrgencyHook</span> <span class='varid'>wuh</span> <span class='varid'>w</span>
           <span class='keyword'>else</span> <span class='varid'>clearUrgency</span> <span class='varid'>w</span>
         <span class='varid'>userCodeDef</span> <span class='conid'>()</span> <span class='varop'>=&lt;&lt;</span> <span class='varid'>asks</span> <span class='layout'>(</span><span class='varid'>logHook</span> <span class='varop'>.</span> <span class='varid'>config</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file30">
./XMonad/Hooks/UrgencyHook.hs:328:72: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='layout'>(</span><span class='varid'>testBit</span> <span class='varid'>flags</span> <span class='varid'>urgencyHintBit</span><span class='layout'>)</span> <span class='keyword'>then</span>
  <span class='keyword'>do</span> <span class='varid'>adjustUrgents</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>ws</span> <span class='keyglyph'>-&gt;</span> <span class='keyword'>if</span> <span class='varid'>elem</span> <span class='varid'>w</span> <span class='varid'>ws</span> <span class='keyword'>then</span> <span class='varid'>ws</span> <span class='keyword'>else</span> <span class='varid'>w</span> <span class='conop'>:</span> <span class='varid'>ws</span><span class='layout'>)</span>
     <span class='varid'>callUrgencyHook</span> <span class='varid'>wuh</span> <span class='varid'>w</span>
  <span class='keyword'>else</span> <span class='varid'>clearUrgency</span> <span class='varid'>w</span></pre>
Why not<br/>
<pre><span class='keyword'>if</span> <span class='varid'>testBit</span> <span class='varid'>flags</span> <span class='varid'>urgencyHintBit</span> <span class='keyword'>then</span>
  <span class='keyword'>do</span> <span class='varid'>adjustUrgents</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>ws</span> <span class='keyglyph'>-&gt;</span> <span class='keyword'>if</span> <span class='varid'>elem</span> <span class='varid'>w</span> <span class='varid'>ws</span> <span class='keyword'>then</span> <span class='varid'>ws</span> <span class='keyword'>else</span> <span class='varid'>w</span> <span class='conop'>:</span> <span class='varid'>ws</span><span class='layout'>)</span>
     <span class='varid'>callUrgencyHook</span> <span class='varid'>wuh</span> <span class='varid'>w</span>
  <span class='keyword'>else</span> <span class='varid'>clearUrgency</span> <span class='varid'>w</span></pre>
</div>

<div class="hint10 file23">
./XMonad/Hooks/DynamicLog.hs:175:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>xmobar</span> <span class='varid'>conf</span> <span class='keyglyph'>=</span> <span class='varid'>statusBar</span> <span class='str'>"xmobar"</span> <span class='varid'>xmobarPP</span> <span class='varid'>toggleStrutsKey</span> <span class='varid'>conf</span></pre>
Why not<br/>
<pre><span class='definition'>xmobar</span> <span class='keyglyph'>=</span> <span class='varid'>statusBar</span> <span class='str'>"xmobar"</span> <span class='varid'>xmobarPP</span> <span class='varid'>toggleStrutsKey</span></pre>
</div>

<div class="hint5 file23">
./XMonad/Hooks/DynamicLog.hs:247:12: Error: Use mapM<br/>
Found<br/>
<pre><span class='definition'>sequence</span> <span class='varop'>$</span> <span class='varid'>map</span> <span class='layout'>(</span><span class='varid'>flip</span> <span class='varid'>catchX</span> <span class='layout'>(</span><span class='varid'>return</span> <span class='conid'>Nothing</span><span class='layout'>)</span><span class='layout'>)</span> <span class='varop'>$</span> <span class='varid'>ppExtras</span> <span class='varid'>pp</span></pre>
Why not<br/>
<pre><span class='definition'>mapM</span> <span class='layout'>(</span><span class='varid'>flip</span> <span class='varid'>catchX</span> <span class='layout'>(</span><span class='varid'>return</span> <span class='conid'>Nothing</span><span class='layout'>)</span><span class='layout'>)</span> <span class='layout'>(</span><span class='varid'>ppExtras</span> <span class='varid'>pp</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file23">
./XMonad/Hooks/DynamicLog.hs:309:14: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>take</span> <span class='layout'>(</span><span class='varid'>n</span> <span class='comment'>-</span> <span class='varid'>length</span> <span class='varid'>end</span><span class='layout'>)</span> <span class='varid'>xs</span><span class='layout'>)</span> <span class='varop'>++</span> <span class='varid'>end</span></pre>
Why not<br/>
<pre><span class='definition'>take</span> <span class='layout'>(</span><span class='varid'>n</span> <span class='comment'>-</span> <span class='varid'>length</span> <span class='varid'>end</span><span class='layout'>)</span> <span class='varid'>xs</span> <span class='varop'>++</span> <span class='varid'>end</span></pre>
</div>

<div class="hint13 file23">
./XMonad/Hooks/DynamicLog.hs:357:8: Warning: Use :<br/>
Found<br/>
<pre><span class='str'>","</span> <span class='varop'>++</span> <span class='varid'>bg</span></pre>
Why not<br/>
<pre><span class='chr'>','</span> <span class='conop'>:</span> <span class='varid'>bg</span></pre>
</div>

<div class="hint11 file27">
./XMonad/Hooks/ManageHelpers.hs:109:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='keyword'>if</span> <span class='varid'>b</span> <span class='keyword'>then</span> <span class='layout'>(</span><span class='varid'>f</span> <span class='varid'>m</span><span class='layout'>)</span> <span class='keyword'>else</span> <span class='varid'>mempty</span></pre>
Why not<br/>
<pre><span class='keyword'>if</span> <span class='varid'>b</span> <span class='keyword'>then</span> <span class='varid'>f</span> <span class='varid'>m</span> <span class='keyword'>else</span> <span class='varid'>mempty</span></pre>
</div>

<div class="hint10 file27">
./XMonad/Hooks/ManageHelpers.hs:166:5: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>move</span> <span class='varid'>mw</span> <span class='keyglyph'>=</span> <span class='varid'>maybe</span> <span class='varid'>idHook</span> <span class='layout'>(</span><span class='varid'>doF</span> <span class='varop'>.</span> <span class='varid'>move'</span><span class='layout'>)</span> <span class='varid'>mw</span></pre>
Why not<br/>
<pre><span class='definition'>move</span> <span class='keyglyph'>=</span> <span class='varid'>maybe</span> <span class='varid'>idHook</span> <span class='layout'>(</span><span class='varid'>doF</span> <span class='varop'>.</span> <span class='varid'>move'</span><span class='layout'>)</span></pre>
</div>

<div class="hint10 file25">
./XMonad/Hooks/FadeInactive.hs:65:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>fadeOut</span> <span class='varid'>amt</span> <span class='keyglyph'>=</span> <span class='varid'>flip</span> <span class='varid'>setOpacity</span> <span class='varid'>amt</span></pre>
Why not<br/>
<pre><span class='definition'>fadeOut</span> <span class='keyglyph'>=</span> <span class='varid'>flip</span> <span class='varid'>setOpacity</span></pre>
</div>

<div class="hint10 file25">
./XMonad/Hooks/FadeInactive.hs:75:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>fadeInactiveLogHook</span> <span class='varid'>amt</span> <span class='keyglyph'>=</span> <span class='varid'>fadeOutLogHook</span> <span class='varid'>isUnfocused</span> <span class='varid'>amt</span></pre>
Why not<br/>
<pre><span class='definition'>fadeInactiveLogHook</span> <span class='keyglyph'>=</span> <span class='varid'>fadeOutLogHook</span> <span class='varid'>isUnfocused</span></pre>
</div>

<div class="hint1 file24">
./XMonad/Hooks/EwmhDesktops.hs:98:63: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>setWindowDesktop</span> <span class='varid'>win</span> <span class='varid'>curr</span></pre>
Why not<br/>
<pre><span class='definition'>setWindowDesktop</span> <span class='varid'>win</span> <span class='varid'>curr</span></pre>
</div>

<div class="hint1 file24">
./XMonad/Hooks/EwmhDesktops.hs:104:58: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>setWindowDesktop</span> <span class='varid'>win</span> <span class='varid'>wn</span></pre>
Why not<br/>
<pre><span class='definition'>setWindowDesktop</span> <span class='varid'>win</span> <span class='varid'>wn</span></pre>
</div>

<div class="hint1 file24">
./XMonad/Hooks/EwmhDesktops.hs:129:29: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>windows</span> <span class='varop'>$</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>focusWindow</span> <span class='varid'>w</span></pre>
Why not<br/>
<pre><span class='definition'>windows</span> <span class='varop'>$</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>focusWindow</span> <span class='varid'>w</span></pre>
</div>

<div class="hint1 file24">
./XMonad/Hooks/EwmhDesktops.hs:129:29: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>killWindow</span> <span class='varid'>w</span></pre>
Why not<br/>
<pre><span class='definition'>killWindow</span> <span class='varid'>w</span></pre>
</div>

<div class="hint1 file24">
./XMonad/Hooks/EwmhDesktops.hs:129:29: Error: Redundant do<br/>
Found<br/>
<pre><span class='keyword'>do</span> <span class='varid'>return</span> <span class='conid'>()</span></pre>
Why not<br/>
<pre><span class='definition'>return</span> <span class='conid'>()</span></pre>
</div>

<div class="hint20 file24">
./XMonad/Hooks/EwmhDesktops.hs:178:9: Warning: Use string literal<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='chr'>'\NUL'</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='str'>"\NUL"</span></pre>
</div>

<div class="hint3 file31">
./XMonad/Hooks/XPropManage.hs:79:16: Error: Use concatMap<br/>
Found<br/>
<pre><span class='definition'>concat</span> <span class='varop'>.</span> <span class='varid'>map</span> <span class='varid'>splitAtNull</span></pre>
Why not<br/>
<pre><span class='definition'>concatMap</span> <span class='varid'>splitAtNull</span></pre>
</div>

<div class="hint11 file22">
./XMonad/Hooks/DynamicHooks.hs:73:1: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='definition'>newIORef</span> <span class='layout'>(</span><span class='conid'>DynamicHooks</span><span class='layout'>{</span><span class='varid'>transients</span> <span class='keyglyph'>=</span> <span class='conid'>[]</span><span class='layout'>,</span> <span class='varid'>permanent</span> <span class='keyglyph'>=</span> <span class='varid'>idHook</span><span class='layout'>}</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='definition'>newIORef</span> <span class='conid'>DynamicHooks</span><span class='layout'>{</span><span class='varid'>transients</span> <span class='keyglyph'>=</span> <span class='conid'>[]</span><span class='layout'>,</span> <span class='varid'>permanent</span> <span class='keyglyph'>=</span> <span class='varid'>idHook</span><span class='layout'>}</span></pre>
</div>

<div class="hint4 file22">
./XMonad/Hooks/DynamicHooks.hs:90:7: Error: Use fromMaybe<br/>
Found<br/>
<pre><span class='definition'>maybe</span> <span class='layout'>(</span><span class='conid'>Endo</span> <span class='varid'>id</span><span class='layout'>)</span> <span class='varid'>id</span></pre>
Why not<br/>
<pre><span class='definition'>fromMaybe</span> <span class='layout'>(</span><span class='conid'>Endo</span> <span class='varid'>id</span><span class='layout'>)</span></pre>
</div>

<div class="hint11 file22">
./XMonad/Hooks/DynamicHooks.hs:118:13: Warning: Redundant brackets<br/>
Found<br/>
<pre><span class='layout'>(</span><span class='varid'>q</span><span class='layout'>,</span> <span class='varid'>a</span><span class='layout'>)</span> <span class='conop'>:</span> <span class='layout'>(</span><span class='varid'>transients</span> <span class='varid'>dh</span><span class='layout'>)</span></pre>
Why not<br/>
<pre><span class='layout'>(</span><span class='varid'>q</span><span class='layout'>,</span> <span class='varid'>a</span><span class='layout'>)</span> <span class='conop'>:</span> <span class='varid'>transients</span> <span class='varid'>dh</span></pre>
</div>

<div class="hint0 file18">
./XMonad/Config/Kde.hs:45:1: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span> <span class='varop'>$</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"dcop kdesktop default popupExecuteCommand"</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_q</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"dcop kdesktop default logout"</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"dcop kdesktop default popupExecuteCommand"</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_q</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"dcop kdesktop default logout"</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint0 file18">
./XMonad/Config/Kde.hs:50:1: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span> <span class='varop'>$</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"krunner"</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_q</span><span class='layout'>)</span><span class='layout'>,</span>
    <span class='varid'>spawn</span>
      <span class='str'>"dbus-send --print-reply --dest=org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout int32:1 int32:0 int32:1"</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"krunner"</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_q</span><span class='layout'>)</span><span class='layout'>,</span>
    <span class='varid'>spawn</span>
      <span class='str'>"dbus-send --print-reply --dest=org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout int32:1 int32:0 int32:1"</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint13 file16">
./XMonad/Config/Azerty.hs:41:1: Warning: Use :<br/>
Found<br/>
<pre><span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_semicolon</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>sendMessage</span> <span class='layout'>(</span><span class='conid'>IncMasterN</span> <span class='layout'>(</span><span class='comment'>-</span> <span class='num'>1</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>)</span><span class='keyglyph'>]</span> <span class='varop'>++</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>m</span> <span class='varop'>.|.</span> <span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>k</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>windows</span> <span class='varop'>$</span> <span class='varid'>f</span> <span class='varid'>i</span><span class='layout'>)</span> <span class='keyglyph'>|</span>
   <span class='layout'>(</span><span class='varid'>i</span><span class='layout'>,</span> <span class='varid'>k</span><span class='layout'>)</span> <span class='keyglyph'>&lt;-</span> <span class='varid'>zip</span> <span class='layout'>(</span><span class='varid'>workspaces</span> <span class='varid'>conf</span><span class='layout'>)</span>
               <span class='keyglyph'>[</span><span class='num'>38</span><span class='layout'>,</span> <span class='num'>233</span><span class='layout'>,</span> <span class='num'>34</span><span class='layout'>,</span> <span class='num'>39</span><span class='layout'>,</span> <span class='num'>40</span><span class='layout'>,</span> <span class='num'>45</span><span class='layout'>,</span> <span class='num'>232</span><span class='layout'>,</span> <span class='num'>95</span><span class='layout'>,</span> <span class='num'>231</span><span class='layout'>,</span> <span class='num'>224</span><span class='keyglyph'>]</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='varid'>f</span><span class='layout'>,</span> <span class='varid'>m</span><span class='layout'>)</span> <span class='keyglyph'>&lt;-</span> <span class='keyglyph'>[</span><span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>greedyView</span><span class='layout'>,</span> <span class='num'>0</span><span class='layout'>)</span><span class='layout'>,</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>shift</span><span class='layout'>,</span> <span class='varid'>shiftMask</span><span class='layout'>)</span><span class='keyglyph'>]</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_semicolon</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>sendMessage</span> <span class='layout'>(</span><span class='conid'>IncMasterN</span> <span class='layout'>(</span><span class='comment'>-</span> <span class='num'>1</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>)</span> <span class='conop'>:</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>m</span> <span class='varop'>.|.</span> <span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>k</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>windows</span> <span class='varop'>$</span> <span class='varid'>f</span> <span class='varid'>i</span><span class='layout'>)</span> <span class='keyglyph'>|</span>
   <span class='layout'>(</span><span class='varid'>i</span><span class='layout'>,</span> <span class='varid'>k</span><span class='layout'>)</span> <span class='keyglyph'>&lt;-</span> <span class='varid'>zip</span> <span class='layout'>(</span><span class='varid'>workspaces</span> <span class='varid'>conf</span><span class='layout'>)</span>
               <span class='keyglyph'>[</span><span class='num'>38</span><span class='layout'>,</span> <span class='num'>233</span><span class='layout'>,</span> <span class='num'>34</span><span class='layout'>,</span> <span class='num'>39</span><span class='layout'>,</span> <span class='num'>40</span><span class='layout'>,</span> <span class='num'>45</span><span class='layout'>,</span> <span class='num'>232</span><span class='layout'>,</span> <span class='num'>95</span><span class='layout'>,</span> <span class='num'>231</span><span class='layout'>,</span> <span class='num'>224</span><span class='keyglyph'>]</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='varid'>f</span><span class='layout'>,</span> <span class='varid'>m</span><span class='layout'>)</span> <span class='keyglyph'>&lt;-</span> <span class='keyglyph'>[</span><span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>greedyView</span><span class='layout'>,</span> <span class='num'>0</span><span class='layout'>)</span><span class='layout'>,</span> <span class='layout'>(</span><span class='conid'>W</span><span class='varop'>.</span><span class='varid'>shift</span><span class='layout'>,</span> <span class='varid'>shiftMask</span><span class='layout'>)</span><span class='keyglyph'>]</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint0 file20">
./XMonad/Config/Sjanssen.hs:31:28: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span> <span class='varop'>$</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>button1</span><span class='layout'>)</span><span class='layout'>,</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>focus</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;</span> <span class='varid'>mouseMoveWindow</span> <span class='varid'>w</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>button2</span><span class='layout'>)</span><span class='layout'>,</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>focus</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;</span> <span class='varid'>windows</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>swapMaster</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>button1</span><span class='layout'>)</span><span class='layout'>,</span>
    <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>focus</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;</span> <span class='varid'>mouseResizeWindow</span> <span class='varid'>w</span><span class='layout'>)</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>button1</span><span class='layout'>)</span><span class='layout'>,</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>focus</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;</span> <span class='varid'>mouseMoveWindow</span> <span class='varid'>w</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>button2</span><span class='layout'>)</span><span class='layout'>,</span> <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>focus</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;</span> <span class='varid'>windows</span> <span class='conid'>W</span><span class='varop'>.</span><span class='varid'>swapMaster</span><span class='layout'>)</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>button1</span><span class='layout'>)</span><span class='layout'>,</span>
    <span class='layout'>(</span><span class='keyglyph'>\</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>focus</span> <span class='varid'>w</span> <span class='varop'>&gt;&gt;</span> <span class='varid'>mouseResizeWindow</span> <span class='varid'>w</span><span class='layout'>)</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint0 file20">
./XMonad/Config/Sjanssen.hs:49:5: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span> <span class='varop'>$</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>shellPromptHere</span> <span class='varid'>sp</span> <span class='varid'>myPromptConfig</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_c</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>kill1</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span> <span class='varop'>.|.</span> <span class='varid'>controlMask</span><span class='layout'>,</span> <span class='varid'>xK_c</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>kill</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_0</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>windows</span> <span class='varop'>$</span> <span class='keyglyph'>\</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>foldr</span> <span class='varid'>copy</span> <span class='varid'>w</span> <span class='varid'>ws</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_z</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>layoutScreens</span> <span class='num'>2</span> <span class='varop'>$</span> <span class='conid'>TwoPane</span> <span class='num'>0.5</span> <span class='num'>0.5</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_z</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>rescreen</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>shellPromptHere</span> <span class='varid'>sp</span> <span class='varid'>myPromptConfig</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_c</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>kill1</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span> <span class='varop'>.|.</span> <span class='varid'>controlMask</span><span class='layout'>,</span> <span class='varid'>xK_c</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>kill</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_0</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>windows</span> <span class='varop'>$</span> <span class='keyglyph'>\</span> <span class='varid'>w</span> <span class='keyglyph'>-&gt;</span> <span class='varid'>foldr</span> <span class='varid'>copy</span> <span class='varid'>w</span> <span class='varid'>ws</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_z</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>layoutScreens</span> <span class='num'>2</span> <span class='varop'>$</span> <span class='conid'>TwoPane</span> <span class='num'>0.5</span> <span class='num'>0.5</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_z</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>rescreen</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint0 file21">
./XMonad/Config/Xfce.hs:38:1: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span> <span class='varop'>$</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"xfrun4"</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"xfce4-appfinder"</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_q</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"xfce4-session-logout"</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span>
  <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"xfrun4"</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_p</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"xfce4-appfinder"</span><span class='layout'>)</span><span class='layout'>,</span>
   <span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span> <span class='varop'>.|.</span> <span class='varid'>shiftMask</span><span class='layout'>,</span> <span class='varid'>xK_q</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>spawn</span> <span class='str'>"xfce4-session-logout"</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint0 file17">
./XMonad/Config/Desktop.hs:33:1: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span> <span class='varop'>$</span> <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_b</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>sendMessage</span> <span class='conid'>ToggleStruts</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
Why not<br/>
<pre><span class='conid'>M</span><span class='varop'>.</span><span class='varid'>fromList</span> <span class='keyglyph'>[</span><span class='layout'>(</span><span class='layout'>(</span><span class='varid'>modm</span><span class='layout'>,</span> <span class='varid'>xK_b</span><span class='layout'>)</span><span class='layout'>,</span> <span class='varid'>sendMessage</span> <span class='conid'>ToggleStruts</span><span class='layout'>)</span><span class='keyglyph'>]</span></pre>
</div>

<div class="hint10 file17">
./XMonad/Config/Desktop.hs:36:1: Warning: Eta reduce<br/>
Found<br/>
<pre><span class='definition'>desktopLayoutModifiers</span> <span class='varid'>layout</span> <span class='keyglyph'>=</span> <span class='varid'>avoidStruts</span> <span class='varid'>layout</span></pre>
Why not<br/>
<pre><span class='definition'>desktopLayoutModifiers</span> <span class='keyglyph'>=</span> <span class='varid'>avoidStruts</span></pre>
</div>

<div class="hint0 file19">
./XMonad/Config/Monad.hs:47:1: Error: Redundant $<br/>
Found<br/>
<pre><span class='conid'>Layout</span> <span class='varop'>$</span> <span class='conid'>Full</span></pre>
Why not<br/>
<pre><span class='conid'>Layout</span> <span class='conid'>Full</span></pre>
</div>

</div>
</body>
</html>