build list in right order (innecefficiently)
This commit is contained in:
parent
9bb0d98054
commit
32b61c25d8
|
@ -80,5 +80,5 @@ props = []
|
||||||
-- | Adds a property to the list.
|
-- | Adds a property to the list.
|
||||||
-- Can add both Properties and RevertableProperties.
|
-- Can add both Properties and RevertableProperties.
|
||||||
(&) :: IsProp p => [Property] -> p -> [Property]
|
(&) :: IsProp p => [Property] -> p -> [Property]
|
||||||
ps & p = toProp p : ps
|
ps & p = ps ++ [toProp p]
|
||||||
infixl 1 &
|
infixl 1 &
|
||||||
|
|
Loading…
Reference in New Issue