Add optparse to local.hs