Add Show constraint next to Integral which is needed from GHC >7.4.1
eliminate a warning, do not use Foreign.unsafePerformIO