hoogle

Haskell API search engine (by ndmitchell)

Hoogle Alternatives

Similar projects and alternatives to hoogle

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better hoogle alternative or higher similarity.

hoogle reviews and mentions

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-11-27.
  • Haskell is the one of the most hardest code
    3 projects | reddit.com/r/ProgrammerHumor | 27 Nov 2022
    I'm in the middle on operators. I like being able to define my own, but I understand how it's challenging to figure out what the hieroglyphics mean when you're not familiar with them. https://hoogle.haskell.org/ can be a help here
  • What’s so great about functional programming anyway?
    8 projects | news.ycombinator.com | 16 Nov 2022
    > In something like Haskell I need to know upfront what I may do with some "object". The IDE can't help me discover the methods I need. All it can do is to show me all available functions in scope.

    Sorry, but this just isn't true. Hoogle <https://hoogle.haskell.org/> searches function by type, fuzzily: ask for functions whose first parameter is the type of the object-like thing, and you'll get just what you're looking for. And it's perfectly possible to run hoogle locally and integrate it with your editor.

    Now, the tooling for a language like Java have had several centuries more of aggregate development work done on them compared to Haskell's tools, and if that polish is a difference-maker for you, that's fine! But it's not a fundamental limitation, and claiming it is is just fud.

  • Type-Signature.com
    5 projects | news.ycombinator.com | 11 Nov 2022
    In my perusals into the Haskell ecosystem, discovering Hoogle[1] was definitely a revelation on the power of a strongly-typed language. Sometimes, you know the _shape_ of the thing you are looking for, but not the name. The ability to search a repository of packages for all functions conforming to a certain type signature (e.g., (a -> Bool) -> [a] -> [a]) is a superpower.

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

    5 projects | news.ycombinator.com | 11 Nov 2022
    which is quite a bit more readable. You can even search Hoogle for x -> HashMap x y -> y and find it, try it!

    https://hoogle.haskell.org/?hoogle=x%20-%3E%20HashMap%20x%20...

  • What Operators Do You WISH Programming Languages Had? [Discussion]
    4 projects | reddit.com/r/ProgrammingLanguages | 21 Oct 2022
    Haskell has hoogle, which searches Hackage for functions matching names, type signatures, etc.
  • Is there a website like haskell's Hoogle for rust?
    2 projects | reddit.com/r/rust | 20 Oct 2022
    Hello, I am wondering if there is something like https://hoogle.haskell.org for the rust language.
  • 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.
  • 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.

  • A note from our sponsor - Zigi
    www.zigi.ai | 28 Nov 2022
    Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%. Learn more →

Stats

Basic hoogle repo stats
49
644
4.9
15 days ago
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.
www.influxdata.com