Constant functions and selectors make for interesting arguments

2017-01-27 Thread David Feuer
GHC's inliner has a notion of "interesting argument" it uses to encourage inlining of functions called with (I think) dictionary arguments. I think another class of argument is very interesting, by being very boring. Any argument that looks like either \ _ ... (Con _ ... x ... _ ) ... _ -> coerce

Re: Cannot build GHC using the Newcomers guide

2017-01-27 Thread Marius Ghita
Thank you all for the feedback, I went with Harendra's solution and that worked fine (and removed any shell wrapping I had to do). To answer Phyx, using stack has become more convenient for managing ghc than using the packages my distro offers (which always falls behind the latest version of GHC b