
7 Apr
2008
7 Apr
'08
10:30 p.m.
Hello Hans, Tuesday, April 8, 2008, 2:28:53 AM, you wrote:
At least Hugs complains if one does not indent "deriving ...", but I do not know what the standard says. If is required, then it can be changed.
deriving is a part of data clause and indentation just allows us to continue clause from prev. line. if not indented, deriving will be parsed as separate clause (and btw such clause, "standalone deriving" was added to ghc 6.8) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com