[GHC] #14766: Hole-y partial type signatures greatly slow down compile times

GHC ghc-devs at haskell.org
Tue Feb 6 16:18:08 UTC 2018


#14766: Hole-y partial type signatures greatly slow down compile times
-------------------------------------+-------------------------------------
        Reporter:  harpocrates       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by harpocrates):

 Unfortunately, `Sigs.hs` and `NoSigs.hs` are too big to upload. Here they
 are on
 [https://gist.github.com/harpocrates/93af4a98fb7bab62cf3fb1517279a48c
 GitHub gists]. Alternately, you can generate them (or rather generate very
 similar files, modulo some CPP) via:

 {{{
 $ happy-1.19.8 -agc Sigs.y -o Sigs.hs
 $ happy-1.19.8 -agc NoSigs.y -o NoSigs.hs
 }}}

 Note that you _must_ use `happy` version 1.19.8 or later. Sorry for any
 confusion!

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14766#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list