
Status: New Owner: ---- New issue 487 by chris...@gmail.com: XMonad.Util.Run documentation is incorrect http://code.google.com/p/xmonad/issues/detail?id=487 The documentation for XMonad.Util.Run.seconds includes this code as an example [1]: -- Use like: -- -- > (5.5 `seconds`) However, using the example gives this error in GHC 7.0.3: The operator `seconds' takes two arguments, but its type `Rational -> Int' has only one This is because the Haskell Report [2] explicitly defines operator sections to only work with two argument functions. The corrected documentation (although less pretty) should be: -- Use like: -- -- > seconds 5.5 [1] http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Util-Run.html#v:seconds [2] http://www.haskell.org/onlinereport/haskell2010/haskellch3.html#x8-300003.5