Untitled
unknown
plain_text
3 years ago
595 B
6
Indexable
++ -- (++) is needed here because the following list comprehension -- is a list, not a single key binding. Simply adding it to the -- list of key bindings would result in something like [ b1, b2, -- [ b3, b4, b5 ] ] resulting in a type error. (Lists must -- contain items all of the same type.) [ (otherModMasks ++ "M-" ++ [key], action tag) | (tag, key) <- zip myWorkspaces "123456789" , (otherModMasks, action) <- [ ("", windows . W.view) -- was W.greedyView , ("S-", windows . W.shift)] ]
Editor is loading...