xmonad-contrib-0.11.4: Third party extensions for xmonad

Copyright(c) 2007 Andrea Rossato, David Roundy
LicenseBSD-style (see xmonad/LICENSE)
Maintainerandrea.rossato@unibz.it
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

XMonad.Util.Invisible

Contents

Description

A data type to store the layout state

Synopsis

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 Source

Constructors

I (m a) 

whenIJust :: Monad m => Invisible Maybe a -> (a -> m ()) -> m () Source