diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-04-16 00:20:03 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-04-16 00:20:03 -0600 |
| commit | d1a00e6e42b4b513f7de66a9e710f62faca2ef00 (patch) | |
| tree | dd16af5c820d5567df7f1bb8a7a2ca2ac0950d47 /src/Rahm/Desktop/Layout/List.hs | |
| parent | 7a5051f7955a8b4e69b2c28b5a9b34f9730e21f0 (diff) | |
| download | rde-d1a00e6e42b4b513f7de66a9e710f62faca2ef00.tar.gz rde-d1a00e6e42b4b513f7de66a9e710f62faca2ef00.tar.bz2 rde-d1a00e6e42b4b513f7de66a9e710f62faca2ef00.zip | |
fix some hlint warnings
Diffstat (limited to 'src/Rahm/Desktop/Layout/List.hs')
| -rw-r--r-- | src/Rahm/Desktop/Layout/List.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Rahm/Desktop/Layout/List.hs b/src/Rahm/Desktop/Layout/List.hs index f533ea2..77b53c9 100644 --- a/src/Rahm/Desktop/Layout/List.hs +++ b/src/Rahm/Desktop/Layout/List.hs @@ -102,7 +102,7 @@ instance (Selector t) => Selector (Sel t) where increment (Skip l) = Skip <$> increment l -- If the current element is selected, the increment is just the initial of -- the tail. - increment Sel = Skip <$> initial + increment Sel = Skip <$> initial -- For a selection, the initial is just this in the Sel state. initial = Just Sel @@ -178,7 +178,7 @@ layoutListLengthProxy _ = Proxy (|:) :: (LayoutSelect t a, LayoutClass l a) => l a -> t a -> LCons l t a (|:) = LCons -infixr 5 |: +infixr 5 |: -- Constructs a LayoutList. This function enforces that the SelectorFor l -- is a 'Sel' type. Essentially this enforces that there must be at least one |