From: Tim Chevalier Date: Fri, 28 Mar 2008 21:19:19 +0000 (+0000) Subject: Print out rational literals correctly in External Core X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=0a9b1362c9103c17a9f662287fd65c8779bcf4ef;hp=0a9b1362c9103c17a9f662287fd65c8779bcf4ef Print out rational literals correctly in External Core The External Core printer was printing out rational literals of the form: 2.0e-2 when the External Core grammar doesn't allow this. (This bug has apparently been there since the beginning...) It's now printing rationals in the same form that (show (r::Rational)) does. This requires a parser change as well (soon to come.) ---