diff options
Diffstat (limited to '')
-rw-r--r-- | Invisible.hs | 5 |
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) |