fast-arithmetic-0.1.1.5: Fast functions on integers.

CopyrightCopyright (c) 2017 Vanessa McHale
Safe HaskellSafe
LanguageHaskell2010

Data.GMP

Description

This module defines a storable instance for GMP's mpz integer type.

Synopsis

Documentation

data GMPInt Source #

The GMP integer type holds information about array size as well as a pointer to an array.

Constructors

GMPInt 

Fields

gmpToInteger :: GMPInt -> IO Integer Source #

Convert a GMP mpz to Haskell's Integer type.