You need to sign in or sign up before continuing.
minor External Core prettyprinter bug
The ext-core pretty printer was printing out rational literals like:
((-1)/5)
which isn't valid External Core. The correct way to print a negative rational is:
(-1/5)
I've attached a patch. I would normally commit this myself, but my GHC build tree isn't up to date.
Thanks!
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.12.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | External Core |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |