aboutsummaryrefslogtreecommitdiff
path: root/Config.hs
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2013-08-25 00:59:04 -0300
committerRaúl Benencia <rul@kalgan.cc>2013-08-25 00:59:04 -0300
commit56dce7c4feada1d4ca93a312e48813fb1918b93b (patch)
tree0b49a6b2c9adefa0d3d6f989a84bfd654f9d1578 /Config.hs
parent4728bb04b2f5daff7a2ed8c30dd0fd8a8ee9539b (diff)
advancing in the monads transformers implementation
Diffstat (limited to 'Config.hs')
-rw-r--r--Config.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Config.hs b/Config.hs
index d57983e..a7f4250 100644
--- a/Config.hs
+++ b/Config.hs
@@ -16,7 +16,7 @@ data LazymailConfig = LazymailConfig {
, selectionColor :: (Color, Color)
, statusBarColor :: (Color, Color)
, showStatusBar :: Bool
- , initialPath :: Maybe FilePath
+ , initialPath :: FilePath
}
defaultConfig = LazymailConfig {
@@ -24,7 +24,7 @@ defaultConfig = LazymailConfig {
, selectionColor = (ColorBlack, ColorWhite)
, statusBarColor = (ColorBlack, ColorWhite)
, showStatusBar = True
- , initialPath = Nothing
+ , initialPath = ""
}
--
@@ -32,4 +32,4 @@ defaultConfig = LazymailConfig {
-- preferences. In a possible future maybe I'll work in a not-so-crappy
-- config system.
--
-customConfig = defaultConfig { initialPath = Just "/home/rul/mail/kalgan" } \ No newline at end of file
+customConfig = defaultConfig { initialPath = "/home/rul/mail/kalgan" } \ No newline at end of file
nihil fit ex nihilo