[GHC] #12773: Data.Functor.Classes instances for ZipList

#12773: Data.Functor.Classes instances for ZipList -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: feature | Status: new request | Priority: low | Milestone: Component: Core | Version: 8.0.1 Libraries | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Since `Data.Functor.Classes` is now maintained by the CLC, how about instances from [https://hackage.haskell.org/package/prelude- extras-0.4.0.1/src/src/Prelude/Extras.hs prelude-extras], at least instances for `ZipList` {{{#!hs instance Eq1 ZipList instance Ord1 ZipList instance Show1 ZipList }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12773 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12773: Data.Functor.Classes instances for ZipList -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: feature request | Status: new Priority: low | Milestone: Component: Core Libraries | 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 RyanGlScott): I'll repeat what I stated [https://ghc.haskell.org/trac/ghc/ticket/11135#comment:25 here]: if you really want these instances now, we'd be happy to take a patch that adds them. I avoided any new `Eq1`/`Ord1`/`Read1`/`Show1`/`Eq2`/`Ord2`/`Read2`/`Show2` instances (other than the ones brought over from `transformers`) since I lacked a mechanism to derive all of these classes, which would have made implementing a lot of these instances tiresome. See also #12457, which aims to find a way to integrate `deriving` into the larger metaprogramming picture. If we had this, we wouldn't have to bake the deriving algorithms for eight more typeclasses into GHC, which would make adding all of these instances far less painful. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12773#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12773: Data.Functor.Classes instances for ZipList -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: feature request | Status: new Priority: low | Milestone: Component: Core Libraries | 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 Iceland_jack): No hurry. I'll leave this ticket open so this doesn't get forgotten, thanks. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12773#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC