[GHC] #8340: support for generating annotations from TH
#8340: support for generating annotations from TH -------------------------------------------+------------------------------- Reporter: errge | Owner: Type: feature request | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Easy (less than 1 hour) | Type of failure: Blocked By: | None/Unknown Related Tickets: | Test Case: | Blocking: 7867 -------------------------------------------+------------------------------- This patch adds support for template haskell generation of annotations. This is currently only possible directly via ```{-# ANN function "whatever annotation #-}```. The attached patch makes it possible to do the same from TH. Module and type annotations are supported too. This is part of a larger effort to make it possible to cross-module communicate between template haskell runs. See #7867 for a longer discussion. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8340> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8340: support for generating annotations from TH -------------------------------+------------------------------------------- Reporter: errge | Owner: Type: feature | Status: patch request | Milestone: 7.8.1 Priority: normal | Version: 7.7 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Easy (less than 1 hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: 7867 | -------------------------------+------------------------------------------- Changes (by errge): * status: new => patch -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8340#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8340: support for generating annotations from TH -------------------------------+------------------------------------------- Reporter: errge | Owner: Type: feature | Status: patch request | Milestone: 7.8.1 Priority: normal | Version: 7.7 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Easy (less than 1 hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: 7867 | -------------------------------+------------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:627d1e008cbe4d9318b2466394420a968d1659da/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="627d1e008cbe4d9318b2466394420a968d1659da" Add TH support for annotations (#8340) Authored-by: Gergely Risko <gergely@risko.hu> Signed-off-by: Austin Seipp <austin@well-typed.com> }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8340#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8340: support for generating annotations from TH -------------------------------+------------------------------------------- Reporter: errge | Owner: Type: feature | Status: closed request | Milestone: 7.8.1 Priority: normal | Version: 7.7 Component: Compiler | Keywords: Resolution: fixed | Architecture: Unknown/Multiple Operating System: | Difficulty: Easy (less than 1 hour) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: 7867 | -------------------------------+------------------------------------------- Changes (by thoughtpolice): * status: patch => closed * resolution: => fixed Comment: Merged, thanks! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8340#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC