File: Local.hs

package info (click to toggle)
haskell-algebra 2.1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 420 kB
  • sloc: haskell: 4,758; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 265 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
module Numeric.Ring.Local 
  ( LocalRing 
  ) where

import Numeric.Ring.Class

-- forall x in r, either x or 1 - x is a unit.
-- if a finite sum is a unit then so are some of its terms, so the empty sum is not a unit, and one /= zero.
class Ring r => LocalRing r