google / ghc-source-gen

Library for generating Haskell source files and code fragments.
BSD 3-Clause "New" or "Revised" License
91 stars 29 forks source link

Fractions inside patterns don't render correctly #33

Closed judah closed 5 years ago

judah commented 5 years ago

The pattern conP "A" [frac 3.0] gets rendered as "A 3 % 0". This is incorrect for two reasons: