Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deprecated: This module will be replaced in a future release.
Tuples and relations as lists.
- type Tabulation a = Table (Record a)
- newtype Record a = Record {
- unRecord :: [a]
- data Table r = Table {}
- readTable :: (Stringy (Attribute r), Tuple r) => FilePath -> IO (Table r)
- writeTable :: (Stringy (Attribute r), Tuple r) => FilePath -> Table r -> IO ()
- makeTable :: forall r. (Default (Table r), Tuple r) => [r] -> Table r
Types
type Tabulation a = Table (Record a) Source #
A tabulation.
A record.
A table.
Functor Table Source # | |
Foldable Table Source # | |
Tuple r => Relation String r (Table r) Source # | |
(Read (Attribute r), Tuple r) => Read (Table r) Source # | |
(Show (Attribute r), Tuple r) => Show (Table r) Source # | |
(Monoid (Attribute r), Tuple r) => Monoid (Table r) Source # | |
Binary r => Binary (Table r) Source # | |
Input/Output
:: (Stringy (Attribute r), Tuple r) | |
=> FilePath | The file path. |
-> IO (Table r) | Action to read the table. |
Read a table.