Skip to content

Instantly share code, notes, and snippets.

Last active September 7, 2021 21:05
What would you like to do?
how to grep all of hackage!

first decide where to place your local copy of stuff


how to get the most recent version of everything

cabal list --simple | awk '{print ($1)}' | uniq | time xargs -P20 -n1 cabal get

then use grep/ ripgrep or whatever to find where code exists/is used/ is defined

then look at the matches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment