Generate hoogle database for Frege from Frege documentation website.
- Get frege-hoogle-database jar from here
- Get frege jar from here
- Run
This would produce a hoogle text database file named
java -cp path/to/frege-hoogle-database-<version>.jar:/path/to/frege<version>.jar frege.hoogledatabase.Main
frege-hoogle-database.txt
in the current directory. Run with--help
to see available options. - The text database file can be uploaded to Frege online REPL by sending a pull request with that file here.
- Hoogle instance for Frege running here will be refreshed with the new database within a day.
- Install hoogle
- Run the following command to convert text database file generated with steps above to binary database:
This would produce a binary database file called
hoogle generate --local=/path/to/directory_containing_frege_hoogle_database_txt --database=frege.hoo
frege.hoo
in the current directory - Then start hoogle server
Hoogle Server will be running at http://localhost:9000/.
hoogle server -p 9000 --database=frege.hoo