
On 13 May 2012 13:43, Brandon Allbery
On Sun, May 13, 2012 at 1:15 PM, Pablo Olmos de Aguilera C.
wrote: On 13 May 2012 12:37, Gwern Branwen
wrote: q ~? x = fmap (x `isInfixOf`) q
myManageHook = (composeAll . concat $ --shifting actions [ [ title =? x --> doCenterFloatToAll | x <- important ] .... , [ className =? "Skype" <&&> title ~? "Call with " -?> doSideFloat' CE ]
Is the previous code right? I'm seeing an only single quote.
It's a backquote, and yes, there are two of them, surrounding "isInfixOf".
Yep, I can see that... I was asking for the quote after doSideFloat in the last line: ..."Call with " -?> doSideFloat' CE ]
Overall, I don't understand the example... what it has to do the first line with the last one?
The first one defined an operator (~?); the second showed how to use it.
Thanks, the "-?>" I guess it's another operator? I'm still trying to get used to haskell... way different about from what I used too. Regards, -- Pablo Olmos de Aguilera Corradini - @PaBLoX http://www.glatelier.org/ http://about.me/pablox/ http://www.linkedin.com/in/pablooda/ Linux User: #456971 - http://counter.li.org/