Re: Crossreferenced GHC 8.0.2

2017-08-29 Thread Niklas Hambüchen
On 17/08/17 18:22, Matthew Pickering wrote: > 2. A nix function which builds and references all dependencies. Very nice, it worked out of the box for me! (Almost, small issue with https://github.com/mpickering/core-kythe/issues/10.) I like how you can just add package names to a file and

Re: Crossreferenced GHC 8.0.2

2017-08-20 Thread Robin Palotai
Sorry for the delay - added it, see for example http://stuff.codereview.me/#../logs/Control.Monad.Skeleton.core?corpus=core-kythe=41 . Note that the Haskell sources (reachable by following the 'generates' reverse edge from the Core) seem to have the empty corpus (for example

Re: Crossreferenced GHC 8.0.2

2017-08-17 Thread Matthew Pickering
Hi all, If anyone is interested in this and using it further I have been working on two improvements. 1. A cross-referencer in the same style for the output of -ddump-simpl (which also links to the source code which produced the core). 2. A nix function which builds and references all

Re: Crossreferenced GHC 8.0.2

2017-07-03 Thread Robin Palotai
FYI I added GHC 8.2.1-rc2 source to the index. Please tell if some source you would be interested in is obviously missing. Thanks! 2017-06-30 22:41 GMT+02:00 Robin Palotai : > Hello Matthew, > > Please see inline > > 2017-06-30 11:57 GMT+02:00 Matthew Pickering

Re: Crossreferenced GHC 8.0.2

2017-06-30 Thread Robin Palotai
Hello Matthew, Please see inline 2017-06-30 11:57 GMT+02:00 Matthew Pickering : > Hi Robin, > > This looks really useful for developers. > > 1. Would it be possible to provide a script which allows developers to > build this index for themselves easily? > First,

Re: Crossreferenced GHC 8.0.2

2017-06-30 Thread Matthew Pickering
Hi Robin, This looks really useful for developers. 1. Would it be possible to provide a script which allows developers to build this index for themselves easily? 2. Is it possible to use this tool to detect dead code? Functions which are not used anywhere in the compiler. 3. How are you pretty

Re: Crossreferenced GHC 8.0.2

2017-06-30 Thread Niklas Hambüchen
Hey Robin, I find that super useful, thanks! I hope some day we'll get to the stage where for any Haskell code I can easily discover all inputs, like the Java world has in their IDEs for decades already. Niklas On 30/06/17 09:55, Robin Palotai wrote: > First, here you can click around [2] and

Crossreferenced GHC 8.0.2

2017-06-30 Thread Robin Palotai
Hello GHC devs, I ran haskell-indexer [1] on the GHC 8.0.2 tarball, partly because I find myself reading GHC source from time to time while working on the indexer, and partly since it's fun. First, here you can click around [2] and find where beloved functions are called from: