Code Monkey home page Code Monkey logo

bhoogle's People

Contributors

andrevdm avatar chrissound avatar jtdaugherty 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bhoogle's Issues

Make a release

Awesome project!

If you have a Hackage release I'll happily link to it from the Hoogle README (telling someone to go install it out of git makes it a bit too niche).

Lags while typing

(I love bhoogle!)

While the UI is very fast (i.e. once data is listed, browsing it is just instantaneous), typing text in Type produces lags of a couple of seconds.

In the following screencast, I'm typing Data.List without pauses: notice please the delay with which List is displayed.
https://user-images.githubusercontent.com/150719/222354749-288ca993-9782-4db1-89a8-240a6a962ee8.mp4

I noticed that also hitting tab for moving from Type to Text renders after 1'.

I installed bhoogle via cabal install bhoogle with the following setup

 ghcup list --show-criteria=installed
   Tool  Version  Tags                      Notes
✔✔ ghc   9.2.5    recommended,base-4.16.4.0 hls-powered
✓  ghc   9.4.3    base-4.17.0.0
✓  ghc   9.4.4    latest,base-4.17.0.0      hls-powered
✓  cabal 3.6.2.0  recommended
✔✔ cabal 3.8.1.0  latest
✔✔ hls   1.9.1.0  latest
✔✔ ghcup 0.1.19.2 latest,recommended

The Hoogle file is the wrong version or format.

bhoogle: The Hoogle file /home/chris/.hoogle/default-haskell-5.0.8.hoo is the wrong version or format.
Expected: HOOGLE-5.0.14
Got     : HOOGLE-5.0.8
CallStack (from HasCallStack):
  error, called at src/General/Store.hs:177:13 in hoogle-5.0.14-8kooiTFvhk43uhMfOwSHUR:General.Store
CallStack (from HasCallStack):
  error, called at src/General/Util.hs:235:66 in hoogle-5.0.14-8kooiTFvhk43uhMfOwSHUR:General.Util

I've cloned down the repo, ran stack install and then ran bhoogle, and typed in `maybe'.

Crash when trying to query results.

Hello,

I was trying to give a try to the app but whenever I hit tab or enter "->" the app crashes. I'm assuming that's when it tries to query for results.

I have hoogle installed and can interact with it from the ghci. The error I'm getting is the following:

screenshot_2018-01-27-11_23_00

Running in ArchLinux using the latest release binary from GitHub.

Thanks in advance

Consider Brick.Core.txtWrap

The screenshot suggests that the documentation string gets truncated when displayed by

B.padLeft (B.Pad 2) (B.txt $ getSelectedDetail (Txt.pack . clean . H.targetDocs))

You might consider Brick.Core.txtWrap to display it instead, which will automatically wrap it.

Fails to compile on stackage.

Building executable 'bhoogle' for bhoogle-0.1.4.2..
       [1 of 1] Compiling Main

       /home/curators/work/unpack-dir/unpacked/bhoogle-0.1.4.2-fa8035b6300def8f7d949f77edb1749b14cdcecee47293e5485053e02c6f06e1/app/Main.hs:130:20: error: [GHC-76037]
           Not in scope: ‘V.mkVty’
           NB: the module ‘Graphics.Vty’ does not export ‘mkVty’.
           Suggested fix:
             Perhaps use data constructor ‘V.Vty’ (imported from Graphics.Vty)
           |
       130 |   let vtyBuilder = V.mkVty V.defaultConfig
           |                    ^^^^^^^

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.