Make mkApps etc infix, and left-associative
[ghc-hetmet.git] / compiler / coreSyn / CoreSyn.lhs
index 331a890..c2e3aba 100644 (file)
@@ -57,6 +57,9 @@ import DataCon                ( DataCon, dataConWorkId, dataConTag )
 import BasicTypes      ( Activation )
 import FastString
 import Outputable
+
+infixl 4 `mkApps`, `mkValApps`, `mkTyApps`, `mkVarApps`
+-- Left associative, so that we can say (f `mkTyApps` xs `mkVarApps` ys)
 \end{code}
 
 %************************************************************************