From 24dc0b180e2a349d2bd8cb3b0cc0ea2f731b3710 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Wed, 11 Oct 2023 11:00:17 +0200 Subject: 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 ``` --- default.nix | 1 + 1 file changed, 1 insertion(+) 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 ''; -- cgit v1.2.3