]> gitweb.michael.orlitzky.com - list-remote-forwards.git/blobdiff - src/OptionalConfiguration.hs
list-remote-forwards.cabal: delete the redundant description
[list-remote-forwards.git] / src / OptionalConfiguration.hs
index 3dc26bdccc94dbc65ff3bb26527e9bb026c15d5d..bfd4da755302e87dd74aa427ff286827468e464b 100644 (file)
@@ -20,15 +20,13 @@ import qualified Data.Configurator as DC (
   lookup )
 
 import Data.Maybe ( fromMaybe )
-import Data.Monoid ( Monoid(..) )
 import Data.Data ( Data )
-import Data.Typeable ( Typeable )
 import Paths_list_remote_forwards ( getSysconfDir )
 import System.Directory ( getHomeDirectory )
 import System.FilePath ( (</>) )
 import System.IO.Error ( catchIOError )
 
-import MxList ( MxList(..) )
+import MxList ( MxList(MxList, get_mxs) )
 
 -- | The same as Configuration, except everything is optional. It's easy to
 --   merge two of these by simply dropping the Nothings in favor of
@@ -45,7 +43,7 @@ data OptionalConfiguration =
     password :: Maybe String,
     port     :: Maybe Int,
     username :: Maybe String }
-  deriving (Show, Data, Typeable)
+  deriving (Show, Data)
 
 
 -- | Combine two Maybes into one, essentially mashing them