(GHC newbie alert -- is this the right mailing list for these kind of questions?)
I"m writing some code to figure out all the instances of particular type-classes and after exploring a lot of options (hlint, haskell-src-exts, annotations, doctests, etc), I realized that the compiler had already figured it out and written it to disk for me!
after which I got stuck. How does one call this function? Specifically: