NumericPrelude-0.0: An experimental alternative hierarchy of numeric type classesContentsIndex
Algebra.OccasionallyScalar
Documentation
class C a v where
Methods
toScalar :: v -> a
toMaybeScalar :: v -> Maybe a
fromScalar :: a -> v
show/hide Instances
C Double Double
C Float Float
(Show v, C v, C v, C a v) => C a (T v)
(C a v, Show v) => C a (T a v)
(C a, Ord a, C a v, Show v, C a v) => C a (T a v)
C a v => C a (T i v)
toScalarDefault :: C a v => v -> a
toScalarShow :: (C a v, Show v) => v -> a
Produced by Haddock version 0.7