template for module information e documentation

This commit is contained in:
Andrea Rossato
2007-06-13 13:10:29 +00:00
parent 6aa97f8775
commit 8d75aada58

View File

@@ -1,14 +1,22 @@
module XMonadContrib.Tabbed ( tabbed ) where
-----------------------------------------------------------------------------
-- |
-- Module : XMonadContrib.Tabbed
-- Copyright : (c) David Roundy
-- License : ??? GPL 2 ???
--
-- Maintainer : email@address.com
-- Stability : unstable
-- Portability : unportable
--
-- A tabbed layout for the Xmonad Window Manager
--
-----------------------------------------------------------------------------
-- This module defines a tabbed layout.
-- You can use this module with the following in your config file:
-- import XMonadContrib.Tabbed
-- defaultLayouts :: [Layout]
-- defaultLayouts = [ tabbed
-- , ... ]
module XMonadContrib.Tabbed (
-- * Usage:
-- $usage
tabbed
) where
import Control.Monad ( forM, liftM )
import Control.Monad.State ( gets )
@@ -21,6 +29,16 @@ import qualified StackSet as W
import XMonadContrib.NamedWindows
-- $usage
-- You can use this module with the following in your configuration file:
--
-- > import XMonadContrib.Tabbed
--
-- > defaultLayouts :: [Layout]
-- > defaultLayouts = [ tabbed
-- > , ... ]
tabbed :: Layout
tabbed = Layout { doLayout = dolay, modifyLayout = const (return Nothing) }