Template Haskell only accepts semicolons not newlines in data declaration quotations
GHC 6.6 rejects a declaration quotation (i.e. [|d ... |]) containing multiple lines, but it accepts it if you change all newlines to semicolons. The latter makes code harder to read.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.6 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | low |
| Resolution | Unresolved |
| Component | Template Haskell |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |
Edited by greenrd