summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-01-01 19:16:23 -0500
committerGitHub <noreply@github.com>2018-01-01 19:16:23 -0500
commitfa085fc07b3db36ae9e5bf13ed7398ba6ca1e5d2 (patch)
treeefdfa6bfe0f61ba85aaac376db8b7a1ebe3c3821
parent1d537f8c53a84b4d50fce23153bbf927b6993210 (diff)
haskell: Recommend use of hoogle --local
This works around the browser security restriction of disallowing links from http:// to file://.
-rw-r--r--doc/languages-frameworks/haskell.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/languages-frameworks/haskell.md b/doc/languages-frameworks/haskell.md
index 629db289ab1d..764fae3ce936 100644
--- a/doc/languages-frameworks/haskell.md
+++ b/doc/languages-frameworks/haskell.md
@@ -334,14 +334,10 @@ navigate there.
Finally, you can run
```shell
-hoogle server -p 8080
+hoogle server -p 8080 --local
```
and navigate to http://localhost:8080/ for your own local
-[Hoogle](https://www.haskell.org/hoogle/). Note, however, that Firefox and
-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.
+[Hoogle](https://www.haskell.org/hoogle/).
### How to build a Haskell project using Stack