From: simonpj@microsoft.com Date: Thu, 29 Oct 2009 12:02:37 +0000 (+0000) Subject: Make `consBag` infixr, and `snocBag` infixl X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=241fdb3509084d0f00bc62f91cf65ade9df5f0e7;p=ghc-hetmet.git Make `consBag` infixr, and `snocBag` infixl --- diff --git a/compiler/utils/Bag.lhs b/compiler/utils/Bag.lhs index b7e92a3..481dedf 100644 --- 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}