Please don’t break travis

2016-12-02 Thread Joachim Breitner
Hi, again, Travis is failing to build master since a while. Unfortunately, only the author of commits get mailed by Travis, so I did not notice it so far. But usually, when Travis reports a build failure, this is something actionable! If in doubt, contact me. The breakage at the moment occurs onl

New perf.haskell.org/ghc builder up

2016-12-02 Thread Joachim Breitner
Hi, Brynmar, via Richard, has sponsored a new machine to build GHC commits for https://perf.haskell.org/ghc/ and I have set it up now. Since the numbers will be incomparable with the previous ones, I started the benchmarking from scratch, starting with 853cdaea7f8724cd071f4fa7ad6c5377a2a8a6e4 wh

Re: How to inline early in a GHC plugin?

2016-12-02 Thread Conal Elliott
Thanks for the pointers, Simon. Some more specific questions: * To access an unfolding, is `maybeUnfoldingTemplate (idUnfolding v)` the recommended recipe? * Is it the case that this recipe succeeds (`Just`) in some compiler phases and not others? If so, is this difference due to Ids being

RE: How to inline early in a GHC plugin?

2016-12-02 Thread Simon Peyton Jones via ghc-devs
I don’t really understand your question clearly. So I’ll guess Unfoldings are added to Ids in Simplify.completeBind (look for setUnfoldingInfo). Apart from INLINE pragmas, that’s about the only place it happens. Does that help? S From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behal

RE: Help needed: Restrictions of proc-notation with RebindableSyntax

2016-12-02 Thread Simon Peyton Jones via ghc-devs
Since you suggested a rewrite of GHC's handling of proc-syntax, are there any opinions on integrating generalized arrows (Joseph 2014) in the process? I think they would greatly improve arrows! I don't know if I have the time to attempt this, but if I find the time I would give it a try. Why was

Re: Help needed: Restrictions of proc-notation with RebindableSyntax

2016-12-02 Thread Jan Bracker via ghc-devs
Simon, Richard, thank you for your answer! I don't have time to look into the GHC sources right now, but I will set aside some time after the holidays and take a close look at what the exact restrictions on proc-notation are and document them. Since you suggested a rewrite of GHC's handling of pr