[xmonad] Misleading documentation for XMonad.Actions.Search

Mats Rauhala mats.rauhala at gmail.com
Sun Mar 20 21:54:18 CET 2011


The documentation for (!>) in XMonad.Actions.Search is misleading. The
documentation says "> multiEngine = intelligent (wikipedia !> mathworld
!> (prefixAware google))", but this syntax doesn't provide the expected
behaviour.

See

*XMonad.Actions.Search> use (wikipedia !> hoogle !> prefixAware google)
"hoogle:foo"
"http://www.google.com/search?num=100&q=hoogle%3Afoo"

compared to:

*XMonad.Actions.Search> use (wikipedia !> (hoogle !> (prefixAware
google))) "hoogle:foo"
"http://www.haskell.org/hoogle/?q=foo"


I propose changing the documentation from <snip>"intelligent (wikipedia
!> mathworld !> (prefixAware google))"</snip> to <snip>"intelligent
(wikipedia !> (mathworld !> (prefixAware google)))"</snip>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20110320/09aff6ae/attachment.pgp>


More information about the xmonad mailing list