hdocs VS hoogle

Compare hdocs vs hoogle and see what are their differences.


Haskell docs tool (by mvoidex)


Haskell API search engine (by ndmitchell)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
hdocs hoogle
0 41
4 622
- -
0.0 5.0
almost 2 years ago 4 months ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of hdocs. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning hdocs yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of hoogle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-11.
  • My first Haskell program: Converts distfix precedence grammars to unambiguous context-free grammars.
    2 projects | reddit.com/r/haskell | 11 Aug 2022
  • What's the story with organizing a cental python docs hub?
    3 projects | reddit.com/r/Python | 5 Aug 2022
    So I was working on this tool pysearch.com for doing deep semantic searches of python docs by program analysis inferred functionality when I noticed that every library's docs seem to be in a different format hosted in a different source. This would be fine if there was also a standard format hub for all the libraries on pypi or something, but it looks like even readthedocs doesn't contain everything. I find this a bit odd given the existence of tools like pydoc for doing something like this locally. Originally, I was hoping to find something like hackage for haskell, as I was hoping to build a natural language version of hoogle. In the meantime I've gotten pysearch to work by setting up custom rules for each doc, but this is kinda unsustainable.
  • [P] New Search Engine for Python ML Docs
    1 project | reddit.com/r/MachineLearning | 4 Aug 2022
    The long-term goal is to be to python what hoogle is for Haskell.
  • Ask HN: What are the best public-code searching web apps today?
    1 project | news.ycombinator.com | 19 Jul 2022
    You can do a global code search in Github.com or in your search engine (Google, DuckDuckGo, Bing, whatever). There are some language specific systems like Hoogle [0]. Maybe SourceGraph's global search engine [1] is ok too I have only tried their project-specific views.

    What is the best hosted/free web app out there today that you use to do searches on code across one or multiple projects?

    [0] https://hoogle.haskell.org/

    [1] https://sourcegraph.com/search

  • Me as a junior, trying to memorise things
    1 project | reddit.com/r/ProgrammerHumor | 12 Jul 2022
    Oh, this is a wonderful explanation, thank you. This fits perfectly with my enjoyment of Haskell. I don't memorize common type signatures -- but I often recognize when one might be applicable, and when that happens I go straight to Hoogle (Haskell function search by name or signature) and figure out what concept it was. Such a great resource.
  • Lenses in Haskell
    3 projects | news.ycombinator.com | 27 Jun 2022
    Point of clarification for readers who aren’t familiar with Haskell:

    Haskell doesn’t have operators in the classic sense, since they’re just an alternate syntax (infix) for regular functions; implemented in libraries. The Haskell ecosystem OTOH has a shitton of infix functions, as does Edward Kmett’s lens library. I don’t think there’s any reason to bother memorizing the ones that aren’t useful to you. You can always search them on Hoogle if you encounter one you don’t know. E.g. https://hoogle.haskell.org/?hoogle=%28%5E.%29&scope=set%3Ast...

    I use lenses frequently in a large application and have only ever used view, set, and over.

  • Dhall: A Gateway Drug to Haskell
    27 projects | news.ycombinator.com | 7 Jun 2022
    No I didn't understand every sub-function in this function. That isn't necessary to get an idea of what a function does. All of your questions can be answered incredible quickly though using https://hoogle.haskell.org/

    > What does Optics.rewriteOf do?

    Hoogling show this is an alias of https://hackage.haskell.org/package/lens-5.1.1/docs/Control-....

    > What's the purpose of Lint.useToMap?

    Hoogle again shows https://hackage.haskell.org/package/dhall-1.41.1/docs/Dhall-.... If your function is not indexed you can look at what is qualified as `Lint` and look it up that way.

    > How about D.subExpressions ? How does that composition work with the loop function?

    https://hackage.haskell.org/package/dhall-1.41.1/docs/Dhall-... All nicely documented... I'm not sure what you mean by composition with the loop function. First the loop function is executed and then afterwards over the result the expression in the first argument to fmap is applied. There is no weird interaction going on here. It's just run this over the result of the loop function if it didn't produce an error.

    > Even better. How would you go about finding the source code containing the definition of the function `D.subExpressions` ?

    Use hoogle or just look at the imports at the top of the file. Just like any other programming language. Or even better, use the language server to find it for you.

    27 projects | news.ycombinator.com | 7 Jun 2022
  • What do you like about Go?
    6 projects | reddit.com/r/golang | 28 May 2022
    A fine piece of code, needs a refactor, may I know the name of the package, Google and Hoogle were unable to do their job.
  • Turn a fold into a monadic fold?
    1 project | reddit.com/r/fsharp | 15 May 2022
    For what it's worth, I've never used/heard of this function myself, but I used the awesome https://hoogle.haskell.org site and searched by the type signature:

What are some alternatives?

When comparing hdocs and hoogle you can also consider the following projects:

ihaskell - A Haskell kernel for the Jupyter project.

castle - A tool to manage shared cabal-install sandboxes.

ShellCheck - ShellCheck, a static analysis tool for shell scripts

hakyll - A static website compiler library in Haskell


Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.


merlin - Context sensitive completion for OCaml in Vim and Emacs

fay - A proper subset of Haskell that compiles to JavaScript

stack - The Haskell Tool Stack

hpack - hpack: A modern format for Haskell packages

You-Dont-Need-GUI - Stop relying on GUI; CLI **ROCKS**