[GHC] #8220: Macros / functions for source location

GHC ghc-devs at haskell.org
Tue Sep 3 21:27:26 CEST 2013


#8220: Macros / functions for source location
-------------------------------------+------------------------------------
        Reporter:  wojteknar         |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by wojteknar):

 So I have been told on #haskell, that I can get the file and line from the
 preprocessor, but what I want primarily is the function name, with control
 over inlining. This is very useful in various situations like tracing,
 timing, running testcases.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8220#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler




More information about the ghc-tickets mailing list