[GHC] #13117: Derived functor instance for void types handles errors badly
GHC
ghc-devs at haskell.org
Sun Jan 15 23:17:52 UTC 2017
#13117: Derived functor instance for void types handles errors badly
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: dfeuer
Type: feature request | Status: new
Priority: normal | Milestone: 8.2.1
Component: Compiler | Version: 8.0.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 dfeuer):
My preference would be
{{{#!hs
fmap _ x = case x of
}}}
(effectively using `EmptyCase`).
mpickering indicates there was some prior dispute about this, but I don't
know where.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13117#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list