cabal-hoogle: generate hoogle database for cabal project and dependencies

[ bsd3, development, library, program ] [ Propose Tags ] [ Report a vulnerability ]

Please see the README on GitHub at https://github.com/kokobd/cabal-hoogle


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 3.10.0.0
Change log CHANGELOG.md
Dependencies base (>=4.14 && <5), Cabal (>=3.10 && <3.14), cabal-hoogle, cabal-install (>=3.10 && <3.14), Cabal-syntax (>=3.10 && <3.14), co-log-core (>=0.2 && <0.4), containers (>=0.6 && <0.8), directory (>=1.3 && <1.4), extra (>=1.7 && <1.8), filepath (>=1.4.2 && <1.6), hoogle (>=5.0.18 && <5.1), lens (>=5 && <6), optparse-applicative (>=0.16 && <1), regex-tdfa (>=1.3 && <1.4), string-interpolate (>=0.3 && <0.4), text (>=1.2.4 && <1.3 || >=2.0 && <2.2), time (>=1.10 && <2), transformers (>=0.5.6 && <0.7), typed-process (>=0.2.10 && <0.2.13) [details]
License BSD-3-Clause
Copyright (c) 2022 kokobd
Author kokobd <contact@zelinf.net>
Maintainer kokobd <contact@zelinf.net>
Revised Revision 1 made by kokobd at 2024-09-30T21:07:19Z
Category Development
Bug tracker https://github.com/kokobd/cabal-hoogle/issues
Source repo head: git clone https://github.com/kokobd/cabal-hoogle
Uploaded by kokobd at 2024-02-25T11:35:42Z
Distributions
Executables cabal-hoogle
Downloads 226 total (11 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-02-25 [all 1 reports]

Readme for cabal-hoogle-3.10.0.0

[back to package description]

cabal-hoogle

GitHub Action Badge

Like stack hoogle, but works for cabal projects. Generates hoogle database of your local packages and all dependencies.

Installation

git clone https://github.com/kokobd/cabal-hoogle.git
cd cabal-hoogle
cabal install exe:cabal-hoogle

Usage

Generate

Within your project, run:

cabal-hoogle generate

This generates a hoogle database for all the local packages and their dependencies.

You may specify targets, like below:

cabal-hoogle generate exe:haskell-language-server hls-code-range-plugin

See Cabal Docs for target syntax

Run Hoogle

With cabal-hoogle run --, extra arguments are passed directly to hoogle.

You may start an http server like this:

cabal-hoogle run -- server --local --port 9000

Or directly search in command line like this:

cabal-hoogle run -- search catMaybes

More Options

Run cabal-hoogle --help to see more options.