xmonad-contrib-0.7: Third party extensions for xmonadContentsIndex
XMonad.Util.Invisible
Portabilityunportable
Stabilityunstable
Maintainerandrea.rossato@unibz.it, droundy@darcs.net
Contents
Usage:
Description
A data type to store the layout state
Synopsis
newtype Invisible m a = I (m a)
whenIJust :: Monad m => Invisible Maybe a -> (a -> m ()) -> m ()
fromIMaybe :: a -> Invisible Maybe a -> a
Usage:
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
Constructors
I (m a)
show/hide Instances
Functor (m a) => Functor (Invisible m a)
Monad (m a) => Monad (Invisible m a)
(Functor m, Monad m) => Read (Invisible m a)
Monad m => Show (Invisible m a)
whenIJust :: Monad m => Invisible Maybe a -> (a -> m ()) -> m ()
fromIMaybe :: a -> Invisible Maybe a -> a
Produced by Haddock version 0.8