# modular-arithmetic: A type for integers modulo some constant.

Versions | 1.0.0.0, 1.0.0.1, 1.0.1.0, 1.0.1.1, 1.1.0.0, 1.2.0.0, 1.2.1.0, 1.2.1.1, 1.2.1.2 |
---|---|

Change log | CHANGELOG.md |

Dependencies | base (>=4.7 && <5) [details] |

License | BSD-3-Clause |

Author | Tikhon Jelvis <tikhon@jelv.is> |

Maintainer | Tikhon Jelvis <tikhon@jelv.is> |

Category | Math |

Home page | https://github.com/TikhonJelvis/modular-arithmetic |

Bug tracker | https://github.com/TikhonJelvis/modular-arithmetic/issues |

Source repo | head: git clone git://github.com/TikhonJelvis/modular-arithmetic.git |

Uploaded | by TikhonJelvis at Sat Jan 7 02:45:26 UTC 2017 |

Distributions | NixOS:1.2.1.2 |

Downloads | 2996 total (29 in the last 30 days) |

Rating | 2.0 (votes: 1) [estimated by rule of succession] |

Your Rating | |

Status | Docs available [build log] Last success reported on 2017-01-07 [all 1 reports] Hackage Matrix CI |

A convenient type for working with integers modulo some constant. It saves you from manually wrapping numeric operations all over the place and prevents a range of simple mistakes. `Integer `

is the type of integers (mod 7) backed by `Mod`

7`Integer`

.
We also have some cute syntax for these types like `ℤ/7`

for integers modulo 7.

[Skip to Readme]

## Downloads

- modular-arithmetic-1.2.1.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)