projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f961947
)
Make `consBag` infixr, and `snocBag` infixl
author
simonpj@microsoft.com
<unknown>
Thu, 29 Oct 2009 12:02:37 +0000
(12:02 +0000)
committer
simonpj@microsoft.com
<unknown>
Thu, 29 Oct 2009 12:02:37 +0000
(12:02 +0000)
compiler/utils/Bag.lhs
patch
|
blob
|
history
diff --git
a/compiler/utils/Bag.lhs
b/compiler/utils/Bag.lhs
index
b7e92a3
..
481dedf
100644
(file)
--- a/
compiler/utils/Bag.lhs
+++ b/
compiler/utils/Bag.lhs
@@
-22,6
+22,9
@@
import Outputable
import Util ( isSingleton )
import Data.List ( partition )
+
+infixr 3 `consBag`
+infixl 3 `snocBag`
\end{code}