[GHC] #14170: 8.2.1 regression: GHC fails to simplify `natVal`
GHC
ghc-devs at haskell.org
Mon Feb 19 20:53:50 UTC 2018
#14170: 8.2.1 regression: GHC fails to simplify `natVal`
-------------------------------------+-------------------------------------
Reporter: vagarenko | Owner: Bodigrim
Type: bug | Status: new
Priority: high | Milestone: 8.2.3
Component: Compiler | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
> I'm in great favour of adding Natural literal into core. It was
untrivial and I didn't pursue that back then,
As comment:2 says, it's not trivial in the sense of "only 3 lines of
code", but it is trivial (or at least easy) in the sense of "just follow
the pattern of `Integer`". I often find myself liking things that are
simple and explicable even if they do a bit more duplication than we'd
ideally like.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14170#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list