Named: haddock fixes

This commit is contained in:
Andrea Rossato
2007-11-23 14:05:57 +00:00
parent 6d35c4c723
commit 79f22e7615

View File

@@ -10,6 +10,8 @@
-- Stability : unstable -- Stability : unstable
-- Portability : unportable -- Portability : unportable
-- --
-- A module for assigning a name to a given layout.
--
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
module XMonad.Layout.Named ( module XMonad.Layout.Named (
@@ -21,13 +23,19 @@ module XMonad.Layout.Named (
import XMonad import XMonad
-- $usage -- $usage
-- You can use this module with the following in your Config.hs file: -- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@:
-- --
-- > import XMonad.Layout.Named -- > import XMonad.Layout.Named
-- --
-- and change the name of a given layout by -- Then edit your @layoutHook@ by adding the Named layout modifier
-- to some layout:
-- --
-- > layout = Named "real big" Full ||| ... -- > myLayouts = Named "real big" Full ||| etc..
-- > main = xmonad dafaultConfig { layoutHook = myLayouts }
--
-- For more detailed instructions on editing the layoutHook see:
--
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
data Named l a = Named String (l a) deriving ( Read, Show ) data Named l a = Named String (l a) deriving ( Read, Show )