On Sun, May 13, 2012 at 1:15 PM, Pablo Olmos de Aguilera C. <pablo@glatelier.org> wrote:
On 13 May 2012 12:37, Gwern Branwen <gwern0@gmail.com> 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".
 
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.

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms