
#12457: Deriving should be (more closely) integrated with other metaprogramming methods -------------------------------------+------------------------------------- Reporter: mpickering | Owner: Type: feature request | Status: new Priority: normal | Milestone: 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 RyanGlScott): Some prior art we can draw on: Rust 1.15 has a "custom derive" feature that let's you derive any trait using its macro system: https://doc.rust- lang.org/book/procedural-macros.html. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12457#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler