From fc1c4b303f58105c806dd720273e0d03806ab453 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Thu, 6 Sep 2007 11:03:00 +0000 Subject: [PATCH] Reorganise. Move MPD to Network.MPD and Prim to Network.MPD.Prim. darcs-hash:20070906110330-928c4-c852a38e99717f7a59efc9da4e46952d24dc7e33.gz --- MPD.hs => Network/MPD.hs | 6 +++--- Prim.hs => Network/MPD/Prim.hs | 4 ++-- mpd.cabal | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) rename MPD.hs => Network/MPD.hs (99%) rename Prim.hs => Network/MPD/Prim.hs (99%) diff --git a/MPD.hs b/Network/MPD.hs similarity index 99% rename from MPD.hs rename to Network/MPD.hs index e47b2ed..2a9c87a 100644 --- a/MPD.hs +++ b/Network/MPD.hs @@ -17,7 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -} --- | Module : MPD +-- | Module : Network.MPD -- Copyright : (c) Ben Sinclair 2005-2007 -- License : LGPL -- Maintainer : bsinclai@turing.une.edu.au @@ -26,7 +26,7 @@ -- -- MPD client library. -module MPD ( +module Network.MPD ( -- * Data types MPD, ACK(..), ACKType, Response, State(..), Status(..), Stats(..), @@ -76,7 +76,7 @@ import System.Environment (getEnv) import System.IO import System.IO.Error (isDoesNotExistError, ioError) -import Prim +import Network.MPD.Prim -- -- Data Types diff --git a/Prim.hs b/Network/MPD/Prim.hs similarity index 99% rename from Prim.hs rename to Network/MPD/Prim.hs index 6590d0d..95e159f 100644 --- a/Prim.hs +++ b/Network/MPD/Prim.hs @@ -17,7 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -} --- | Module : Prim +-- | Module : Network.MPD.Prim -- Copyright : (c) Ben Sinclair 2005-2007 -- License : LGPL -- Maintainer : bsinclai@turing.une.edu.au @@ -26,7 +26,7 @@ -- -- Core functionality. -module Prim ( +module Network.MPD.Prim ( -- * Data types MPD, ACK(..), ACKType(..), Response, diff --git a/mpd.cabal b/mpd.cabal index 144386e..998f2e0 100644 --- a/mpd.cabal +++ b/mpd.cabal @@ -11,7 +11,7 @@ Synopsis: An MPD client library. Category: Network Tested-With: GHC == 6.5, GHC == 6.6.1, Hugs == 2006.9 Build-Depends: base, network, mtl -Exposed-Modules: MPD -Other-Modules: Prim +Exposed-Modules: Network.MPD +Other-Modules: Network.MPD.Prim ghc-options: -Wall -O2 ghc-prof-options: -auto-all -prof -- 2.11.4.GIT