Re: keepAlive# primop

2020-05-26 Thread Sylvain Henry
Hi ghc-devs, After a discussion today about `keepAlive#`, I think Option E [1] is even more appealing. To recap the idea was to have keep-alive variable sets attached to case-expressions in Core. E.g. `case {k} x of ...` 1. One of the issue was the semantics of `keepAlive#`. `keepAlive#`

Re: in-tree API Annotations

2020-05-26 Thread Alan & Kim Zimmerman
And to reply to my own question, yes we do, we use them to tie up the ParsedSource RdrName to the renamed Name when considering refactorings. On Mon, 25 May 2020 at 23:33, Alan & Kim Zimmerman wrote: > I am trying to get my head around the best way to put the API annotations > into the GHC