summaryrefslogtreecommitdiff
path: root/src/Propellor/Property.hs
diff options
context:
space:
mode:
authorJoey Hess2017-03-15 15:59:44 -0400
committerJoey Hess2017-03-15 15:59:44 -0400
commit30871a7c2652dbfc07485bdc28d522c7c3272464 (patch)
treeca6148badae3bc609393c1baf49aa977e864a267 /src/Propellor/Property.hs
parentf49fd3b9f1baa23cd6f587cf0c33251381ea2adf (diff)
desc
Diffstat (limited to 'src/Propellor/Property.hs')
-rw-r--r--src/Propellor/Property.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Propellor/Property.hs b/src/Propellor/Property.hs
index 706e684b..94c82c9f 100644
--- a/src/Propellor/Property.hs
+++ b/src/Propellor/Property.hs
@@ -357,6 +357,9 @@ makeChange a = liftIO a >> return MadeChange
noChange :: Propellor Result
noChange = return NoChange
+-- | A no-op property.
+--
+-- This is the same as `mempty` from the `Monoid` instance.
doNothing :: SingI t => Property (MetaTypes t)
doNothing = mempty