Add some rules; fixes #5767
authorIan Lynagh <igloo@earth.li>
Thu, 26 Jan 2012 13:58:04 +0000 (13:58 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 26 Jan 2012 14:55:20 +0000 (14:55 +0000)
commit299f286e016681bad3fc5d106fd305aaf418a17f
treeecc3fa3ceee75abb9498f4134aac3e51e383efde
parentfda76752e98eb0c613b5aaf1c3f3a765f63e5a6c
Add some rules; fixes #5767

We now have rules for
    integerToInt    (smallInteger    x) = x
    integerToWord   (wordToInteger   x) = x
    integerToInt64  (int64ToInteger  x) = x
    integerToWord64 (word64ToInteger x) = x
libraries/integer-gmp/GHC/Integer/Type.lhs