aboutsummaryrefslogtreecommitdiffstats
path: root/Invisible.hs
diff options
context:
space:
mode:
authorDevin Mullins <me@twifkak.com>2007-10-24 14:52:13 +0200
committerDevin Mullins <me@twifkak.com>2007-10-24 14:52:13 +0200
commitd333c588fb592477534f116080c0ca074db6b5c7 (patch)
treef2453833ae1ba59352a02c77b7967a1b7cbca007 /Invisible.hs
parent9c8d980276498576f9d9eddf39a8902ff7400920 (diff)
downloadXMonadContrib-d333c588fb592477534f116080c0ca074db6b5c7.tar.gz
XMonadContrib-d333c588fb592477534f116080c0ca074db6b5c7.tar.xz
XMonadContrib-d333c588fb592477534f116080c0ca074db6b5c7.zip
expand Invisible comments
darcs-hash:20071024125213-78224-d3f8615cf0884532842736713b3fb34cae7a932f.gz
Diffstat (limited to 'Invisible.hs')
-rw-r--r--Invisible.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Invisible.hs b/Invisible.hs
index 6069364..110128d 100644
--- a/Invisible.hs
+++ b/Invisible.hs
@@ -23,7 +23,10 @@ module XMonadContrib.Invisible (
) where
-- $usage
--- A data type to store the layout state
+-- A wrapper data type to store layout state that shouldn't be persisted across
+-- restarts. A common wrapped type to use is @Maybe a@.
+-- Invisible derives trivial definitions for Read and Show, so the wrapped data
+-- type need not do so
newtype Invisible m a = I (m a) deriving (Monad, Functor)