[GHC] #14691: Replace EvTerm with CoreExpr

GHC ghc-devs at haskell.org
Sat Jan 20 15:29:31 UTC 2018


#14691: Replace EvTerm with CoreExpr
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.3
  checker)                           |
      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 nomeata):

 When moving this desugaring code into smart constructors that are run by
 the type checker, it need to be able ot use functions like
 `mkStringExprFS` which require `MonadThings`. But the type checker monad
 does not have a suitable instance:
 {{{
 No instance for (HscTypes.MonadThings TcS)
 }}}

 Is that by design, or has just nobody bothered so far to create such an
 instance?

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


More information about the ghc-tickets mailing list