[GHC] #8797: Generics instances for monoid and applicative newtypes
GHC
ghc-devs at haskell.org
Tue Feb 18 11:37:57 UTC 2014
#8797: Generics instances for monoid and applicative newtypes
-------------------------------+-------------------------------------------
Reporter: jcristovao | Owner:
Type: feature | Status: new
request | Milestone:
Priority: normal | Version: 7.6.3
Component: | Keywords:
libraries/base | Architecture: Unknown/Multiple
Resolution: | Difficulty: Easy (less than 1 hour)
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: |
None/Unknown |
Test Case: |
Blocking: |
-------------------------------+-------------------------------------------
Comment (by jcristovao):
```StandaloneDeriving``` can be used
Yes, of course, but there is always the (increased) risk of two libraries
using it, and thus having ```Duplicate instance declarations```. I would
say its safer to include this in base.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8797#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list