Pulled over quant-table script
Update for new GHC version