Re: AnonymousSums data con syntax

2015-09-07 Thread Lennart Kolmodin
2015-09-07 21:21 GMT+01:00 Joachim Breitner : > Hi, > > Am Montag, den 07.09.2015, 19:25 + schrieb Simon Peyton Jones: > > > Are we okay with stealing some operator sections for this? E.G. (x > > > > > ). I think the boxed sums larger than 2 choices are all > technically overlapping with secti

Re: RULES in binary

2015-07-27 Thread Lennart Kolmodin
rn that the RULE might not fire since the function might get inlined, and GHC might inline without me explicitly annotating with the INLINE pragma. I could change the INLINE to NOINLINE and always let the RULE do the job. Right? > > > Simon > > > > *From:* Lennart Kolmodin [mai

Re: RULES in binary

2015-07-27 Thread Lennart Kolmodin
2015-07-26 23:06 GMT+02:00 Joachim Breitner : > Hi, > > Am Sonntag, den 26.07.2015, 22:50 +0200 schrieb Lennart Kolmodin: > > This trick relies so much on that the user's code has been inlined > > properly that it probably very rarely fires in a real application.

Re: RULES in binary

2015-07-26 Thread Lennart Kolmodin
Yes, this has been on my todo for a long time :) Essentially all inlinings/rules in binary should be gone through and confirmed whether they're still needed. I had a look now to get some insight. Since a few versions GHC warns in this way when something might not go the way it was intended, a grea

Re: Debugging the RTS

2015-05-15 Thread Lennart Kolmodin
Searching for online resources brought me to https://ghc.haskell.org/trac/ghc/wiki/Debugging and https://ghc.haskell.org/trac/ghc/wiki/Debugging/RuntimeSystem This mail seems to be a more detailed description than available on the wiki. That page refers to GHC 6.12. Would it make sense to add some

Re: Redundant constraints

2015-01-08 Thread Lennart Kolmodin
2015-01-07 18:19 GMT+03:00 Simon Peyton Jones : > Friends > > I’ve pushed a big patch that adds –fwarn-redundant-constraints (on by > default). It tells you when a constraint in a signature is unnecessary, > e.g. > > f :: Ord a => a -> a -> Bool > > f x y = True > > I think I have don

Re: Last call for 7.8.4

2014-12-15 Thread Lennart Kolmodin
2014-12-15 18:28 GMT+03:00 Austin Seipp : > > Hello *, > > I've just pushed a final round of patches to the 7.8 branch, including > the notorious Cabal fix for the -fPIC bug that was discussed earlier > in the week, and a handful of other bugfixes for ARM among other > things (/cc Joachim :) > Ple

Re: Bash completion in GHC 7.10

2014-12-10 Thread Lennart Kolmodin
2014-12-10 16:16 GMT+03:00 Joachim Breitner : > Hi, > > I guess you CCed me because of: > > Am Mittwoch, den 10.12.2014, 16:43 +0400 schrieb Lennart Kolmodin: > > Linux distributions, and packages for other OSs are responsible for > > copying the required file to the

Bash completion in GHC 7.10

2014-12-10 Thread Lennart Kolmodin
Hi everybody! TL;DL GHC 7.10 will have better bash completion, try it out! I'd like your help to verify the categorisation of DynFlags into ghc / ghci / shared or hidden flags. I've been working on improving the command line completion support in GHC 7.10. The main idea is that it should be more