build list in right order (innecefficiently)

This commit is contained in:
Joey Hess 2014-04-02 13:20:39 -04:00
parent 9bb0d98054
commit 32b61c25d8
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -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 &