diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-10-11 11:00:17 +0200 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-10-11 11:00:20 +0200 |
commit | 24dc0b180e2a349d2bd8cb3b0cc0ea2f731b3710 (patch) | |
tree | 24abf1d6fd409551216ce7faa9d3651a551b9f78 | |
parent | 7dac3a98bceef8ffb40f63f3506de5fe93b218a5 (diff) |
add Hoogle
The `hoogle` command is useful, among other things, for searching the
used libraries for functions, ie:
```console
hoogle 'a -> a'
GHC.Prelude id :: a -> a
..
```
You can also start a web-server:
```console
hoogle server
```
-rw-r--r-- | default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 4b4c392..2bb0824 100644 --- a/default.nix +++ b/default.nix @@ -30,6 +30,7 @@ rec { pkgs.ghcid pkgs.git ]; + withHoogle = true; shellHook = '' HISTFILE=${pkgs.lib.escapeShellArg ./.}/.history; export HISTFILE ''; |