Rename `{import,export}Integer`
authorHerbert Valerio Riedel <hvr@gnu.org>
Thu, 7 Nov 2013 20:40:57 +0000 (21:40 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Thu, 7 Nov 2013 20:40:57 +0000 (21:40 +0100)
commit22c23c6b6395e76d9717bca43f42a52cf84fc92d
tree851256a90356f089fea2bde7a1970d85f2eb7265
parentdfd65a28de3fe6093d7e39fab6de960408abeb7e
Rename `{import,export}Integer`

This renames to more verbose names which include the type these
operations import/export from/to:

 - `importIntegerFromByteArray`, and
 - `exportIntegerToMutableByteArray`.

This follows the naming convention used for other primitive operations,
such as the recently added `copyMutableByteArrayToAddr` operation.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
GHC/Integer/GMP/Internals.hs
GHC/Integer/GMP/Prim.hs
GHC/Integer/Type.lhs
cbits/gmp-wrappers.cmm