File: Class.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-- 272 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE FlexibleInstances, UndecidableInstances #-}
module Numeric.Field.Class 
  ( Field
  ) where

import Numeric.Ring.Division
import Numeric.Algebra.Commutative

class (Commutative r, DivisionRing r) => Field r
instance (Commutative r, DivisionRing r) => Field r