[GHC] #14163: Stack Overflow with ApplicativeDo
GHC
ghc-devs at haskell.org
Tue Aug 29 10:40:26 UTC 2017
#14163: Stack Overflow with ApplicativeDo
-------------------------------------+-------------------------------------
Reporter: lippling | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Resolution: | Keywords: ApplicativeDo
Operating System: MacOS X | Architecture: x86_64
Type of failure: Compile-time | (amd64)
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by lippling):
So the workarounds are:
- Disable ApplicativeDo -OR-
- Enable the `-foptimal-applicative-do` flag and have longer compile times
(O(n^2) vs. O(n^3)) -OR-
- Rearrange the code so that ApplicativeDo doesn't "trigger"
Am I right?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14163#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list