summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2014-04-02 13:20:39 -0400
committerJoey Hess2014-04-02 13:20:39 -0400
commit32b61c25d896aad37a3b0fff3975316fbf0eaf89 (patch)
tree5e69c4585f25569306dd576850fbc3be3cf3964b
parent9bb0d98054e3673d4ab3c87823723076eb7fc167 (diff)
build list in right order (innecefficiently)
-rw-r--r--Propellor/Property.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Propellor/Property.hs b/Propellor/Property.hs
index 10a51530..7419f352 100644
--- a/Propellor/Property.hs
+++ b/Propellor/Property.hs
@@ -80,5 +80,5 @@ props = []
-- | Adds a property to the list.
-- Can add both Properties and RevertableProperties.
(&) :: IsProp p => [Property] -> p -> [Property]
-ps & p = toProp p : ps
+ps & p = ps ++ [toProp p]
infixl 1 &