Data.Modular

Preliminaries

Modular arithmetic

data Mod i n

unMod

toMod

toMod'

inv

type (/)

type

modVal

data SomeMod i

someModVal