From 241fdb3509084d0f00bc62f91cf65ade9df5f0e7 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Thu, 29 Oct 2009 12:02:37 +0000 Subject: [PATCH] Make `consBag` infixr, and `snocBag` infixl --- compiler/utils/Bag.lhs | 3 +++ 1 file changed, 3 insertions(+) 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} -- 1.7.10.4