Andrew Coppin schrieb: > On 29/09/2010 02:18 PM, Henning Thielemann wrote: >> >> The truth is: Given the separator style of constructor definition, >> there is no correct way to format those declarations. :-) The correct >> way would be to allow terminator style. > > Well, yes, there is that. (And this isn't the only place in the syntax > where it applies either. Tried editing export lists lately? Or Cabal > module lists?)
In export and import lists you can use commas as terminators, however in constructor lists you cannot. module A (a, b, c, T(A,B,C), ) where import X (x, Y(M,N,O), z, ) In Cabal you can write one module per line and need no separator or terminator at all. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe