| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
Graphics.Gnuplot.Value.Tuple
Description
Provide a class that renders multiple Haskell values in a text form that is accessible by gnuplot.
Maybe we add a method for the binary interface to gnuplot later.
Synopsis
- class C a where
- newtype ColumnCount a = ColumnCount Int
Documentation
Minimal complete definition
Methods
For values that are also in Atom class,
text must generate a singleton list.
columnCount :: ColumnCount a #
It must hold ColumnCount (length (text x)) == columnCount.
Instances
| C Double # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Float # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Int # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Int8 # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Int16 # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Int32 # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Int64 # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Integer # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Word8 # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Word16 # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Word32 # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Word64 # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C UTCTime # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| C Day # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| Integral a => C (Ratio a) # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| (C a, C b) => C (a, b) # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| (C a, C b, C c) => C (a, b, c) # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
| (C a, C b, C c, C d) => C (a, b, c, d) # | |
Defined in Graphics.Gnuplot.Value.Tuple | |
newtype ColumnCount a #
Count numbers of gnuplot data columns for the respective type.
Somehow a writer monad with respect to Sum monoid without material monadic result.
Cf. ColumnSet module.
Constructors
| ColumnCount Int |
Instances
| Eq (ColumnCount a) # | |
Defined in Graphics.Gnuplot.Value.Tuple Methods (==) :: ColumnCount a -> ColumnCount a -> Bool # (/=) :: ColumnCount a -> ColumnCount a -> Bool # | |
| Ord (ColumnCount a) # | |
Defined in Graphics.Gnuplot.Value.Tuple Methods compare :: ColumnCount a -> ColumnCount a -> Ordering # (<) :: ColumnCount a -> ColumnCount a -> Bool # (<=) :: ColumnCount a -> ColumnCount a -> Bool # (>) :: ColumnCount a -> ColumnCount a -> Bool # (>=) :: ColumnCount a -> ColumnCount a -> Bool # max :: ColumnCount a -> ColumnCount a -> ColumnCount a # min :: ColumnCount a -> ColumnCount a -> ColumnCount a # | |
| Show (ColumnCount a) # | |
Defined in Graphics.Gnuplot.Value.Tuple Methods showsPrec :: Int -> ColumnCount a -> ShowS # show :: ColumnCount a -> String # showList :: [ColumnCount a] -> ShowS # | |