Add appropriate Show, Eq and Generic instances
fix missing ghc-prim package