aboutsummaryrefslogtreecommitdiffstats
path: root/Roledex.hs
diff options
context:
space:
mode:
authorJoachim Fasting <joachim.fasting@gmail.com>2007-09-19 23:54:36 +0200
committerJoachim Fasting <joachim.fasting@gmail.com>2007-09-19 23:54:36 +0200
commit1205836986eafaa3c74fed0acca7fb7132c0eb3c (patch)
treeb288537ec412a93bfb60aba90dd33d04c3f00480 /Roledex.hs
parentff06e096480818b71da1f9330cb24c672c791c07 (diff)
downloadXMonadContrib-1205836986eafaa3c74fed0acca7fb7132c0eb3c.tar.gz
XMonadContrib-1205836986eafaa3c74fed0acca7fb7132c0eb3c.tar.xz
XMonadContrib-1205836986eafaa3c74fed0acca7fb7132c0eb3c.zip
Rolodex.hs: add missing type signature.
div' is only used with Dimension, used Integral to keep it general. darcs-hash:20070919215436-928c4-5bdedd2e9a0154510e5d029eba05a45e3ec6acb8.gz
Diffstat (limited to 'Roledex.hs')
-rw-r--r--Roledex.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Roledex.hs b/Roledex.hs
index 02eecf8..89c0f24 100644
--- a/Roledex.hs
+++ b/Roledex.hs
@@ -62,5 +62,6 @@ roledexLayout sc ws = return ([(W.focus ws, mainPane)] ++
then (n - 1) : (cd (n-1) m)
else []
+div' :: Integral a => a -> a -> a
div' _ 0 = 0
div' n o = div n o