BiobaseTypes-0.0.2.2: (deprecated) Ring class, with several instances.

Biobase.Types.Ring

Description

Algebraic ring structure. Very similar to others found throughout hackage.

TODO maybe use on of the already-written packages?

Synopsis

Documentation

class (Eq a, Ord a) => Ring a whereSource

Define the basic operations on a ring.

Methods

(.+.) :: a -> a -> aSource

(.*.) :: a -> a -> aSource

(.^.) :: a -> Int -> aSource

(.^^.) :: a -> Double -> aSource

neg :: a -> aSource

one :: aSource

zero :: aSource

isZeroSource

Arguments

:: a 
-> Bool

==zero does not work well for min-plus

Instances

Ring Energy

Ring operations over Energy values.

Ring Score

Ring operations over Score values.

Ring Partition

Ring operations over Partition values.