ANNOUNCE: SourceGraph 0.5.2.0

Yes, this is yet another SourceGraph announcement, this time for version 0.5.2.0 [1]. [1] http://hackage.haskell.org/package/SourceGraph-0.5.2.0 The changes in this release are as follows: * Shift overall analysis to the top and per-module analysis to the end, as suggested by Duncan Coutts. * Graph drawing fixups: instances are now drawn correctly, and the module graph now has modules located in the correct directory. * Improve some graph drawing aspects (node margins, colours for module graphs, etc.). -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

Ivan Lazar Miljenovic wrote:
Yes, this is yet another SourceGraph announcement, this time for version 0.5.2.0 [1].
installation went well, but I get a rather uninformative error message for 505 source files: cabal build: .... [505 of 505] Compiling Main SourceGraph: Parse error: Last statement in a do-block must be an expression Cheers Christian

Christian Maeder
Ivan Lazar Miljenovic wrote: installation went well, but I get a rather uninformative error message for 505 source files:
cabal build: .... [505 of 505] Compiling Main
:o There is no way that there's 505 source files in SourceGraph... and I just did a clean install of SourceGraph and it works fine :s
SourceGraph: Parse error: Last statement in a do-block must be an expression
This is a parse error from haskell-src-exts. Are you sure that your code is valid? -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

Ivan Lazar Miljenovic wrote:
Christian Maeder
writes: Ivan Lazar Miljenovic wrote: installation went well, but I get a rather uninformative error message for 505 source files:
cabal build: .... [505 of 505] Compiling Main
:o
There is no way that there's 505 source files in SourceGraph... and I just did a clean install of SourceGraph and it works fine :s
SourceGraph: Parse error: Last statement in a do-block must be an expression
This is a parse error from haskell-src-exts. Are you sure that your code is valid?
My code (505 source files) is valid, as I wanted to indicate above. (I did count SourceGraph source files.) Does SourceGraph maybe pick up more source files than transitively imported from a top-level module? Christian

Christian Maeder
My code (505 source files) is valid, as I wanted to indicate above. (I did count SourceGraph source files.)
Ahhh, OK.
Does SourceGraph maybe pick up more source files than transitively imported from a top-level module?
At the moment, yes... it find all files with .hs and .lhs extensions (with the exception of Setup.[l]hs, HLint.hs, _darcs/ and dist/). On the whole, SourceGraph is rather "dumb" at the moment. In future I plan on using only files listed in the .cabal file unless otherwise indicated, etc. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (2)
-
Christian Maeder
-
Ivan Lazar Miljenovic