[Haskell-beginners] Some Code from XMonad

matthew coolbeth mac01021 at engr.uconn.edu
Sat Jul 10 07:41:15 EDT 2010


Hi.

This is not standard haskell98, right?

It appears as though a container module can very succinctly expose ALL items
exposed by "submodules" that it has imported within itself.

Does anyone know where I can find a document specifying the language
behaviour for code that does this?

------------------------------------------------------------------------------------------------------------
module XMonad (

    module XMonad.Main,
    module XMonad.Core,
    module XMonad.Config,
    module XMonad.Layout,
    module XMonad.ManageHook,
    module XMonad.Operations,
    module Graphics.X11,
    module Graphics.X11.Xlib.Extras,
    (.|.),
    MonadState(..), gets, modify,
    MonadReader(..), asks,
    MonadIO(..)

 ) where

-- core modules
import XMonad.Main
import XMonad.Core
import XMonad.Config
import XMonad.Layout
import XMonad.ManageHook
import XMonad.Operations
-- import XMonad.StackSet -- conflicts with 'workspaces' defined in
XMonad.hs

-- modules needed to get basic configuration working
import Data.Bits
import Graphics.X11 hiding (refreshKeyboardMapping)
import Graphics.X11.Xlib.Extras

import Control.Monad.State
import Control.Monad.Reader


-- 
mac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100710/86818e5f/attachment.html


More information about the Beginners mailing list