Giter Club home page Giter Club logo

ghc-dump-tree's People

Contributors

alanz avatar edsko avatar jpmoresmau avatar robinp avatar robrix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ghc-dump-tree's Issues

Need more strictness

For the simple test

module A where
fun = 1

I get a panic. Replacing all 'return $' with 'return $!' forces the evals to happen inside the ghandle, and prints out the tree ok. (Thankfully Aeson.Value is strict in the fields already).

Cannot build gcc-dump-tree due to missing dep

I ran cabal install --only-dependencies but it fails with the error:

Resolving dependencies...
Notice: installing into a sandbox located at
/Users/John/Development/Haskell/ghc-dump-tree/ghc-dump-tree/.cabal-sandbox
Configuring pretty-show-1.6.9...
Failed to install pretty-show-1.6.9
Build log ( /Users/John/Development/Haskell/ghc-dump-tree/ghc-dump-tree/.cabal-sandbox/logs/pretty-show-1.6.9.log ):
Configuring pretty-show-1.6.9...
setup-Simple-Cabal-1.22.2.0-x86_64-osx-ghc-7.10.1: The program 'happy' is
required but it could not be found.
cabal: Error: some packages failed to install:
pretty-show-1.6.9 failed during the configure step. The exception was:
ExitFailure 1

The contents of the log file pretty-show-1.6.9.log is:

Configuring pretty-show-1.6.9...
setup-Simple-Cabal-1.22.2.0-x86_64-osx-ghc-7.10.1: The program 'happy' is
required but it could not be found.

Provide a library as well as an executable

After discussing it with @alanz, we think it may be beneficial to have ghc-dump-tree as a library and exposed via a haskell-ide-engine plugin. I will try to work on that and will do a pr when ready. Let me know if I should be aware of any pitfalls.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.