
#13104: runRW# ruins join points -------------------------------------+------------------------------------- Reporter: lukemaurer | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.1 Resolution: | Keywords: JoinPoints Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata): This wouldn’t be a valid use of a join point, would it? You cannot pass join-points in lambdas to arguments. But maybe that points to a solution. Can we somehow tell GHC that the argument of `runRW#` is special in the sense that passing a join-point call there is ok? So to say, a promise that by the time we generate code, the argument will be passed `n` functions and be used in a join-point eligible way? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13104#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler