From 94cf74b8ae28075496a67c1a83df630bc6cabc7c Mon Sep 17 00:00:00 2001 From: simonpj Date: Thu, 6 Dec 2001 10:45:14 +0000 Subject: [PATCH] [project @ 2001-12-06 10:45:14 by simonpj] Comments only --- ghc/compiler/hsSyn/HsBinds.lhs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ghc/compiler/hsSyn/HsBinds.lhs b/ghc/compiler/hsSyn/HsBinds.lhs index d30ff27..4f66055 100644 --- a/ghc/compiler/hsSyn/HsBinds.lhs +++ b/ghc/compiler/hsSyn/HsBinds.lhs @@ -109,6 +109,10 @@ data MonoBinds id pat -- and variables f = \x -> e -- Reason: the Match stuff lets us have an optional -- result type sig f :: a->a = ...mentions a... + -- + -- This also means that instance decls can only have + -- FunMonoBinds, so if you change this, you'll need to + -- change e.g. rnMethodBinds Bool -- True => infix declaration [Match id pat] SrcLoc -- 1.7.10.4