Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PrimeField (p :: Nat)
- toInt :: PrimeField p -> Integer
Documentation
data PrimeField (p :: Nat) Source #
Prime fields GF(p)
for p
prime.
Instances
toInt :: PrimeField p -> Integer Source #
Embed field element to integers.