Skip to content

Commit

Permalink
Fix documentation for construction of MultMod m
Browse files Browse the repository at this point in the history
There's no function called `toMultElement` as far as I can tell.
  • Loading branch information
cjlarose committed Dec 27, 2020
1 parent 5fffee9 commit 63cf409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Math/NumberTheory/Moduli/Multiplicative.hs
Expand Up @@ -35,7 +35,7 @@ import Math.NumberTheory.Moduli.Singleton
import Math.NumberTheory.Primes

-- | This type represents elements of the multiplicative group mod m, i.e.
-- those elements which are coprime to m. Use @toMultElement@ to construct.
-- those elements which are coprime to m. Use @isMultElement@ to construct.
newtype MultMod m = MultMod {
multElement :: Mod m -- ^ Unwrap a residue.
} deriving (Eq, Ord, Show)
Expand Down

0 comments on commit 63cf409

Please sign in to comment.