haskell: Recommend use of hoogle --local

This works around the browser security restriction of 
disallowing links from http:// to file://.
This commit is contained in:
Ben Gamari 2018-01-01 19:16:23 -05:00 committed by GitHub
parent 1d537f8c53
commit fa085fc07b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -334,14 +334,10 @@ navigate there.
Finally, you can run Finally, you can run
```shell ```shell
hoogle server -p 8080 hoogle server -p 8080 --local
``` ```
and navigate to http://localhost:8080/ for your own local and navigate to http://localhost:8080/ for your own local
[Hoogle](https://www.haskell.org/hoogle/). Note, however, that Firefox and [Hoogle](https://www.haskell.org/hoogle/).
possibly other browsers disallow navigation from `http:` to `file:` URIs for
security reasons, which might be quite an inconvenience. See [this
page](http://kb.mozillazine.org/Links_to_local_pages_do_not_work) for
workarounds.
### How to build a Haskell project using Stack ### How to build a Haskell project using Stack