Discarding unused external modules. How ghc’s -ddump-minimal-imports option writes a minimal import list for a Haskell module, and where the result falls short.
Blog
Thoughts and observations.
Cleaning up your Haskell imports
Setting up a simple test with Cabal
Testing the Haskell way. Add a test program to a Cabal package with a build flag and a custom Setup.hs so cabal test runs it, plus the drawbacks.
RIP, Heather
Mourning the passing of a classmate from elementary and high school. Heather sat next to me in first grade in Mobile and was later my ASMS classmate.
Waiting for Go-done
Which batch jobs are still running? List files that lack a given line using grep -c, a regex anchor, and sed, then the one-flag fix: grep -L.
Scraping data from a program’s output
Scrape a command’s output in a few lines of Perl: load AIX vmstat values into a hash with a piped open and split, then with a one-line regex and reverse.