-
Notifications
You must be signed in to change notification settings - Fork 12
TIL
Steve Mao edited this page Sep 12, 2019
·
6 revisions
$ cabal install hoogle
# Or
stack install hoogle
hoogle generate # for the first time
hoogle fmap
:def hoogle \s -> return $ ":! hoogle --count=15 \"" ++ s ++ "\""
# list global packages
stack exec ghc-pkg -- list # outside of a project directory
stack exec ghc-pkg field <package-name> id
stack exec ghc-pkg unregister <pkg-id>
cd /path/to/stack/packages # This could be something like ~/.local/bin, but is configuration dependent
rm <package name>
Actions are more important than words.