From 32b61c25d896aad37a3b0fff3975316fbf0eaf89 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 2 Apr 2014 13:20:39 -0400 Subject: [PATCH] build list in right order (innecefficiently) --- Propellor/Property.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Propellor/Property.hs b/Propellor/Property.hs index 10a5153..7419f35 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 &