summaryrefslogtreecommitdiff
path: root/src/Propellor/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Types.hs')
-rw-r--r--src/Propellor/Types.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Propellor/Types.hs b/src/Propellor/Types.hs
index e5f5c1c7..a96e9520 100644
--- a/src/Propellor/Types.hs
+++ b/src/Propellor/Types.hs
@@ -42,14 +42,14 @@ data Host = Host
, _hostAttrs :: SetAttr
}
--- | Propellor's monad provides read-only access to attributes of the
--- system.
-newtype Propellor p = Propellor { runWithAttr :: ReaderT Attr IO p }
+-- | Propellor's monad provides read-only access to the host it's running
+-- on, including its attributes.
+newtype Propellor p = Propellor { runWithHost :: ReaderT Host IO p }
deriving
( Monad
, Functor
, Applicative
- , MonadReader Attr
+ , MonadReader Host
, MonadIO
, MonadCatchIO
)