Explorar el Código

~/.xmonad: Smarter definition of ??

Just a flippin' fmap. (Just (flip fmap)?)
Lucas Stadler %!s(int64=12) %!d(string=hace) años
padre
commit
46efc2fc73
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .xmonad/xmonad.hs

+ 1 - 1
.xmonad/xmonad.hs

@ -21,7 +21,7 @@ import qualified XMonad.StackSet as W
21 21
--  * Logging framework (like reading urls from Firefox and the like)
22 22
23 23
(??) :: Query a -> (a -> Bool) -> Query Bool
24
q ?? p = fmap p q
24
(??) = flip fmap
25 25
26 26
main = do
27 27
    kbMap <- newIORef "us"