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 (13 lines) | stat: -rw-r--r-- 289 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
module Numeric.Algebra.Complex.Class
  ( Complicated(..)
  ) where

import Numeric.Algebra.Distinguished.Class
import Numeric.Covector
import Prelude (return)

class Distinguished r => Complicated r where
  i :: r

instance Complicated a => Complicated (Covector r a) where
  i = return i