summaryrefslogtreecommitdiff
path: root/src/Propellor/Types
diff options
context:
space:
mode:
authorJoey Hess2015-12-19 16:52:53 -0400
committerJoey Hess2015-12-19 16:52:53 -0400
commit714270abfcf6433da29dc80fdcaff740ad2a0169 (patch)
tree5a73c676e40ca029487845aa6bd87a74e93b8556 /src/Propellor/Types
parent4e4c7bb914779ded627bc28de116acd8b0867986 (diff)
Clean build with ghc 7.10.
Import Prelude after modules that cause warnings due to AMP change
Diffstat (limited to 'src/Propellor/Types')
-rw-r--r--src/Propellor/Types/Dns.hs3
-rw-r--r--src/Propellor/Types/Info.hs3
-rw-r--r--src/Propellor/Types/Result.hs3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/Propellor/Types/Dns.hs b/src/Propellor/Types/Dns.hs
index d95f1a8b..8f15d156 100644
--- a/src/Propellor/Types/Dns.hs
+++ b/src/Propellor/Types/Dns.hs
@@ -7,11 +7,12 @@ import Propellor.Types.Empty
import Propellor.Types.Info
import Data.Word
-import Data.Monoid
import qualified Data.Map as M
import qualified Data.Set as S
import Data.List
import Data.String.Utils (split, replace)
+import Data.Monoid
+import Prelude
type Domain = String
diff --git a/src/Propellor/Types/Info.hs b/src/Propellor/Types/Info.hs
index 2c95b6fc..53fa9e77 100644
--- a/src/Propellor/Types/Info.hs
+++ b/src/Propellor/Types/Info.hs
@@ -13,8 +13,9 @@ module Propellor.Types.Info (
) where
import Data.Dynamic
-import Data.Monoid
import Data.Maybe
+import Data.Monoid
+import Prelude
-- | Information about a Host, which can be provided by its properties.
newtype Info = Info [InfoEntry]
diff --git a/src/Propellor/Types/Result.hs b/src/Propellor/Types/Result.hs
index 9def9a3f..e8510abf 100644
--- a/src/Propellor/Types/Result.hs
+++ b/src/Propellor/Types/Result.hs
@@ -1,7 +1,8 @@
module Propellor.Types.Result where
-import Data.Monoid
import System.Console.ANSI
+import Data.Monoid
+import Prelude
-- | There can be three results of satisfying a Property.
data Result = NoChange | MadeChange | FailedChange